[fcgi] drop perl sub-package; it's been replaced by perl-FCGI (rhbz#736612)
Iain Arnell
iarnell at fedoraproject.org
Fri Sep 9 03:37:17 UTC 2011
commit 8686860003b4a376510f5a79ceef124b23778d8d
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#736612)
fcgi.spec | 53 ++++-------------------------------------------------
1 files changed, 4 insertions(+), 49 deletions(-)
---
diff --git a/fcgi.spec b/fcgi.spec
index e52bee7..595b41e 100644
--- a/fcgi.spec
+++ b/fcgi.spec
@@ -1,6 +1,6 @@
Name: fcgi
Version: 2.4.0
-Release: 16%{?dist}
+Release: 17%{?dist}
Summary: FastCGI development kit
Group: Development/Languages
@@ -13,11 +13,6 @@ Patch0: fcgi-2.4.0-autotools.patch
Patch1: fcgi-2.4.0-configure.in.patch
Patch2: fcgi-2.4.0-Makefile.am-CPPFLAGS.patch
Patch3: fcgi-2.4.0-gcc44_fixes.patch
-# https://rt.cpan.org/Public/Bug/Display.html?id=67618
-Patch4: ExtUtils-MakeMaker.patch
-
-# for -perl
-BuildRequires: perl(ExtUtils::MakeMaker)
%description
FastCGI is a language independent, scalable, open extension to CGI that
@@ -35,22 +30,10 @@ 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
%patch3 -p1 -b .gcc44_fixes
-%patch4 -p1 -b .eemm
# remove DOS End Of Line Encoding
sed -i 's/\r//' doc/fastcgi-prog-guide/ch2c.htm
@@ -63,11 +46,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
@@ -83,28 +61,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
-
-
%files
%{_bindir}/cgi-fcgi
%{_libdir}/libfcgi.so.*
@@ -119,20 +80,14 @@ cd perl && make test
%{_libdir}/libfcgi.so
%{_libdir}/libfcgi++.so
%{_mandir}/man3/*
-%exclude %{_mandir}/man3/*.3pm*
%defattr(0644,root,root,0755)
%doc doc/
-%files perl
-%doc perl/ChangeLog perl/README perl/*.fpl
-%{perl_vendorarch}/*
-%exclude %dir %{perl_vendorarch}/auto
-%{_mandir}/man3/*.3pm*
-%defattr(0644,root,root,0755)
-
-
%changelog
+* Fri Sep 09 2011 Iain Arnell <iarnell at gmail.com> 2.4.0-17
+- drop perl sub-package; it's been replaced by perl-FCGI (rhbz#736612)
+
* Thu Jun 16 2011 Marcela Mašláňová <mmaslano at redhat.com> - 2.4.0-16
- Perl mass rebuild & clean spec & clean Makefile.PL
More information about the scm-commits
mailing list