I tried to use one of these symbols in a Requires statement in another RPM I'm building and it didn't work. Some digging showed that they weren't getting included in rpm file, e.g the output of:
It appears that the %description block swallows everything up until the next rpm section (e.g. %prep), or something like that.
I've placed them up after the Requires(postun): line and now they no longer appear in the %description section (phew) and have an effect.
Unfortunately, now I'm seeing a hard to reproduce bug in which rpath in incorrectly defined, resulting a failure to find libperl.so at runtime. I'll file another issue describing what I've narrowed down about that problem.
etc/perl.spec
includes these three lines after the%description
paragraph.I tried to use one of these symbols in a Requires statement in another RPM I'm building and it didn't work. Some digging showed that they weren't getting included in rpm file, e.g the output of:
did not include them.
However, they are included as the last three lines of the rpm's description, e.g. in the output of running:
It appears that the
%description
block swallows everything up until the next rpm section (e.g.%prep
), or something like that.I've placed them up after the
Requires(postun):
line and now they no longer appear in the%description
section (phew) and have an effect.Unfortunately, now I'm seeing a hard to reproduce bug in which
rpath
in incorrectly defined, resulting a failure to find libperl.so at runtime. I'll file another issue describing what I've narrowed down about that problem.The command line that I'm running is