Move all comments from /sbin/ldconfig %postun script

rpmbuild passes all lines between %postun and next section (%files) to
script body. Including comments. And /sbin/ldconfig does not skip
comments and complains when upgrading perl-libs package:

/sbin/ldconfig: relative path `1' used to build cache
warning: %postun(perl-libs-4:5.26.0-397.fc27.x86_64) scriptlet failed, exit status 1

We must keep the lines literally empty.
This commit is contained in:
Petr Písař 2017-08-08 14:12:40 +02:00
parent cb5a1964be
commit 603cb80068

View File

@ -3063,10 +3063,9 @@ popd
%postun libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig
%files
# We sub-package modules from perl-interpreter subpackage. Main perl package # We sub-package modules from perl-interpreter subpackage. Main perl package
# is a meta package. # is a meta package.
%files
# Nothing. Nada. Zilch. Zarro. Uh uh. Nope. Sorry.
%files interpreter %files interpreter
%{_mandir}/man1/*.1* %{_mandir}/man1/*.1*