[fcgi/el6] drop perl sub-package; it's been replaced by perl-FCGI (rhbz#736613)

Iain Arnell iarnell at fedoraproject.org
Fri Sep 9 03:54:39 UTC 2011


commit 6d34e1b0cb303d2edfae9a6a5d0f5a4ce085d795
Author: Iain Arnell <iarnell at gmail.com>
Date:   Fri Sep 9 05:36:56 2011 +0200

    drop perl sub-package; it's been replaced by perl-FCGI (rhbz#736613)
    
    (cherry picked from commit 8686860003b4a376510f5a79ceef124b23778d8d)
    
    Conflicts:
    
    	fcgi.spec

 fcgi.spec |   56 ++++----------------------------------------------------
 1 files changed, 4 insertions(+), 52 deletions(-)
---
diff --git a/fcgi.spec b/fcgi.spec
index afbf145..034f117 100644
--- a/fcgi.spec
+++ b/fcgi.spec
@@ -1,6 +1,6 @@
 Name:           fcgi
 Version:        2.4.0
-Release:        10%{?dist}
+Release:        11%{?dist}
 Summary:        FastCGI development kit
 
 Group:          Development/Languages
@@ -15,14 +15,6 @@ Patch2:         fcgi-2.4.0-Makefile.am-CPPFLAGS.patch
 Patch3:         fcgi-2.4.0-gcc44_fixes.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-# for -perl
-BuildRequires:  perl(ExtUtils::MakeMaker)
-
-# don't "provide" private Perl libs
-%global _use_internal_dependency_generator 0
-%global provfind /bin/sh -c "grep -v '%perl_vendorarch.*\\.so$' | %__find_provides"
-%global __find_provides %provfind
-
 %description
 FastCGI is a language independent, scalable, open extension to CGI that
 provides high performance without the limitations of server specific APIs.
@@ -39,17 +31,6 @@ The %{name}-devel package contains libraries and header files for
 developing applications that use %{name}.
 
 
-%package perl
-Summary:        Perl bindings for %{name}
-Group:          Development/Libraries
-Requires:       %{name} = %{version}-%{release}
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-
-%description    perl
-The %{name}-perl package contains the perl bindings for fcgi.
-
-
 %prep
 %setup -q
 %patch0 -p1
@@ -66,11 +47,6 @@ chmod a-x include/fcgios.h libfcgi/os_unix.c
 # does not build with parallel make flags
 make
 
-# build the perl bindings
-cd perl
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
-make %{?_smp_mflags}
-
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -86,28 +62,11 @@ done
 rm -f -- doc/*.1
 rm -f -- doc/*.3
 
-# install the perl bindings
-cd perl
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
-
-chmod -x *.fpl
-%{_fixperms} $RPM_BUILD_ROOT/%{perl_vendorarch}
-
 
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 
-%check
-# perl tests -- none presently, but that may change
-cd perl && make test
-
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -128,21 +87,14 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libfcgi.so
 %{_libdir}/libfcgi++.so
 %{_mandir}/man3/*
-%exclude %{_mandir}/man3/*.3pm*
 %defattr(0644,root,root,0755)
 %doc doc/
 
 
-%files perl
-%defattr(-,root,root,-)
-%{perl_vendorarch}/*
-%exclude %dir %{perl_vendorarch}/auto
-%{_mandir}/man3/*.3pm*
-%defattr(0644,root,root,0755)
-%doc perl/ChangeLog perl/README perl/*.fpl 
-
-
 %changelog
+* Fri Sep 09 2011 Iain Arnell <iarnell at gmail.com> 2.4.0-11
+- drop perl sub-package; it's been replaced by perl-FCGI (rhbz#736613)
+
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.4.0-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 


More information about the scm-commits mailing list