From 603cb8006862ddba9845a32d55026d497e45c608 Mon Sep 17 00:00:00 2001
From: Petr Písař <>
Date: Aug 08 2017 12:12:40 +0000
Subject: 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.


diff --git a/perl.spec b/perl.spec
index 18f5492..56bbf1c 100644
--- a/perl.spec
+++ b/perl.spec
@@ -3063,10 +3063,9 @@ popd
 %postun libs -p /sbin/ldconfig
 # We sub-package modules from perl-interpreter subpackage. Main perl package
 # is a meta package.
-# Nothing. Nada. Zilch. Zarro. Uh uh. Nope. Sorry.
 %files interpreter

perl-devel mailing list --
To unsubscribe send an email to

Reply via email to