[perl] Do not warn about missing site directories
Petr Pisar
ppisar at fedoraproject.org
Mon Oct 24 16:17:18 UTC 2011
commit 88766b139cc7698363dd42fb0136fc12e0bcf42a
Author: Petr Písař <ppisar at redhat.com>
Date: Mon Oct 24 18:13:59 2011 +0200
Do not warn about missing site directories
perl.spec | 15 +++++----------
1 files changed, 5 insertions(+), 10 deletions(-)
---
diff --git a/perl.spec b/perl.spec
index 0bfdb2b..379fb68 100644
--- a/perl.spec
+++ b/perl.spec
@@ -22,7 +22,7 @@
Name: perl
Version: %{perl_version}
# release number must be even higher, because dual-lived modules will be broken otherwise
-Release: 197%{?dist}
+Release: 198%{?dist}
Epoch: %{perl_epoch}
Summary: Practical Extraction and Report Language
Group: Development/Languages
@@ -1432,15 +1432,7 @@ sed \
%endif
%endif
-%post libs
-/sbin/ldconfig
-# Inform about missing site directories (bug #732799).
-# There is no scriptlet executable on uprgrade after removing old package to
-# create them automatically.
-echo "%{name}-libs:" \
- "Perl site paths %{_prefix}/local/{%{_lib},share}/perl5" \
- "are searched but not created automatically because %{_prefix}/local" \
- "is your private area. Create them manually if needed."
+%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
@@ -2298,6 +2290,9 @@ echo "%{name}-libs:" \
# Old changelog entries are preserved in CVS.
%changelog
+* Mon Oct 24 2011 Petr Pisar <ppisar at redhat.com> - 4:5.14.2-198
+- Do not warn about missing site directories (bug #732799)
+
* Thu Oct 20 2011 Marcela Mašláňová <mmaslano at redhat.com> - 4:5.14.2-197
- cleaned spec (thanks to Grigory Batalov)
- Module-Metadata sub-package contained perl_privlib instead of privlib
More information about the scm-commits
mailing list