[perl-DBI] Prune MANIFEST when deleting PlRPC-using modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 1a598aef6a437d36b42b8302298e7186145c8386
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Fri Dec 12 11:16:56 2014 +0100

    Prune MANIFEST when deleting PlRPC-using modules

 perl-DBI.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/perl-DBI.spec b/perl-DBI.spec
index c30a891..0da3cd7 100644
--- a/perl-DBI.spec
+++ b/perl-DBI.spec
@@ -112,8 +112,11 @@ sed -i -e '/^lib\/DBD\/Gofer\/Transport\/corostream.pm$/d' MANIFEST
 %endif
 # Remove RPC::Pl* reverse dependencies due to security concerns,
 # CVE-2013-7284, bug #1051110
-rm lib/Bundle/DBI.pm lib/DBD/Proxy.pm lib/DBI/ProxyServer.pm dbiproxy.PL
-rm t/80proxy.t
+for F in lib/Bundle/DBI.pm lib/DBD/Proxy.pm lib/DBI/ProxyServer.pm \
+        dbiproxy.PL t/80proxy.t; do
+    rm "$F"
+    sed -i -e '\|^'"$F"'|d' MANIFEST
+done
 sed -i -e 's/"dbiproxy$ext_pl",//' Makefile.PL
 
 %build
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux