Hide Forgot
Description of problem: $ rhpkg prep error getting product information for rhel-7.3, assuming it's unreleased warning: Macro expanded in comment on line 77: # Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz warning: Macro expanded in comment on line 79: #Source1: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz.asc error: line 703: Trigger fired by the same package is already defined in spec file: %triggerpostun -n openssh-server-sysvinit -- openssh-server < 5.8p2-12 Could not execute prep: Command 'rpmbuild --define '_sourcedir /home/plautrba-fedora/devel/rhel/openssh/rhel-7.3' --define '_specdir /home/plautrba-fedora/devel/rhel/openssh/rhel-7.3' --define '_builddir /home/plautrba-fedora/devel/rhel/openssh/rhel-7.3' --define '_srcrpmdir /home/plautrba-fedora/devel/rhel/openssh/rhel-7.3' --define '_rpmdir /home/plautrba-fedora/devel/rhel/openssh/rhel-7.3' --define 'dist .el7' --define 'rhel 7' --define 'el7 1' --nodeps -bp /home/plautrba-fedora/devel/rhel/openssh/rhel-7.3/openssh.spec' returned non-zero exit status 1
Triggers related to openssh 5.x version are not related anymore (RHEL6 -> RHEL7 upgrade is handled by upgrade scripts). We can cleanly remove all of them.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2016-2588.html