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
1 changed files with 1 additions and 2 deletions

View File

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