[perl/f17] Remove perl-CGI sub-package to favour standalone one

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

 



commit ed073e97ec5218fc7b095a70ea823ae843d1aa36
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Mon Nov 26 14:40:33 2012 +0100

    Remove perl-CGI sub-package to favour standalone one

 perl.spec |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/perl.spec b/perl.spec
index 98c8d1b..eae1856 100644
--- a/perl.spec
+++ b/perl.spec
@@ -7,6 +7,9 @@
 %global parallel_tests 1
 %global tapsetdir   %{_datadir}/systemtap/tapset
 
+%global dual_life 0
+%global rebuild_from_scratch 0
+
 # This set overrides filters from build root (/etc/rpm/macros.perl)
 # intentionally (e.g. the perl(DB))
 %global __provides_exclude_from .*/auto/.*\\.so$|.*/%{perl_archlib}/.*\\.so$|%{_docdir}
@@ -24,7 +27,7 @@
 Name:           perl
 Version:        %{perl_version}
 # release number must be even higher, because dual-lived modules will be broken otherwise
-Release:        217%{?dist}
+Release:        218%{?dist}
 Epoch:          %{perl_epoch}
 Summary:        Practical Extraction and Report Language
 Group:          Development/Languages
@@ -312,6 +315,7 @@ module was called. There is no guarantee that that is where the error was,
 but it is a good educated guess.
 
 
+%if %{dual_life} || %{rebuild_from_scratch}
 %package CGI
 Summary:        Handle Common Gateway Interface requests and responses
 Group:          Development/Libraries
@@ -338,6 +342,7 @@ generation utilities are included as well.
 
 CGI.pm performs very well in in a vanilla CGI.pm environment and also comes
 with built-in support for mod_perl and mod_perl2 as well as FastCGI.
+%endif
 
 
 %package Compress-Raw-Bzip2
@@ -2039,11 +2044,13 @@ sed \
 %{privlib}/Carp.*
 %{_mandir}/man3/Carp.*
 
+%if %{dual_life} || %{rebuild_from_scratch}
 %files CGI
 %{privlib}/CGI/
 %{privlib}/CGI.pm
 %{_mandir}/man3/CGI.3*
 %{_mandir}/man3/CGI::*.3*
+%endif
 
 %files Compress-Raw-Bzip2
 %dir %{archlib}/Compress
@@ -2444,6 +2451,9 @@ sed \
 
 # Old changelog entries are preserved in CVS.
 %changelog
+* Mon Nov 26 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 4:5.14.3-218
+- Remove perl-CGI sub-package to favour standalone one (bug #876974)
+
 * Wed Oct 17 2012 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 4:5.14.3-217
 - Do not crash when vivifying $| (bug #865296)
 
--
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