From 20be7f7632bdf3376d2805f2dba2512a0b77f682 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 13 May 2010 22:34:38 +0000 Subject: [PATCH 1/7] Initialize branch F-13 for perl-FCGI --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..baa94ef --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-13 From 4d3220f623a323e205b2690a3233b63b334064c6 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 13 May 2010 22:34:39 +0000 Subject: [PATCH 2/7] Initialize branch F-12 for perl-FCGI --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..06de2d2 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-12 From 3bbbff6c3182da17e7bc6beb6d6eee962f625b9b Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Sun, 16 May 2010 01:04:25 +0000 Subject: [PATCH 3/7] initial import --- .cvsignore | 1 + import.log | 1 + perl-FCGI.spec | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 68 insertions(+) create mode 100644 import.log create mode 100644 perl-FCGI.spec diff --git a/.cvsignore b/.cvsignore index e69de29..1f37270 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +FCGI-0.71.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..c0c3ce8 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-FCGI-0_71-2_fc13:F-13:perl-FCGI-0.71-2.fc13.src.rpm:1273971859 diff --git a/perl-FCGI.spec b/perl-FCGI.spec new file mode 100644 index 0000000..9f46912 --- /dev/null +++ b/perl-FCGI.spec @@ -0,0 +1,65 @@ +Name: perl-FCGI +Summary: FastCGI Perl bindings +# needed to properly replace/obsolete fcgi-perl +Epoch: 1 +Version: 0.71 +Release: 2%{?dist} +# same as fcgi +License: OML +Group: Development/Libraries +Source0: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/FCGI-%{version}.tar.gz +URL: http://search.cpan.org/dist/FCGI +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +BuildRequires: perl(ExtUtils::MakeMaker) + +Provides: fcgi-perl = %{epoch}:%{version}-%{release} +Obsoletes: fcgi-perl =< 2.4.0 + +%{?perl_default_filter} +%{?perl_default_subpackage_tests} + +%description +%{summary}. + +%prep +%setup -q -n FCGI-%{version} +find . -type f -exec chmod -c -x {} + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} + +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' + +%{_fixperms} %{buildroot}/* + +%check +make test + + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc ChangeLog README LICENSE.TERMS echo.PL remote.PL threaded.PL +%{perl_vendorarch}/* +%exclude %dir %{perl_vendorarch}/auto +%{_mandir}/man3/*.3* + +%changelog +* Sat May 15 2010 Chris Weyl 1:0.71-2 +- fix license: BSD => OML + +* Sat May 08 2010 Chris Weyl 1:0.71-1 +- specfile by Fedora::App::MaintainerTools 0.006 + + diff --git a/sources b/sources index e69de29..b877670 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +26bc4ea53ccc9c9c16695e88e46a1cfb FCGI-0.71.tar.gz From 07873a9ebc1f7f280e18583fdeb18376cf29c617 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Sun, 16 May 2010 01:04:40 +0000 Subject: [PATCH 4/7] initial import --- .cvsignore | 1 + import.log | 1 + perl-FCGI.spec | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 68 insertions(+) create mode 100644 import.log create mode 100644 perl-FCGI.spec diff --git a/.cvsignore b/.cvsignore index e69de29..1f37270 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +FCGI-0.71.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..507e0fc --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-FCGI-0_71-2_fc13:F-12:perl-FCGI-0.71-2.fc13.src.rpm:1273971874 diff --git a/perl-FCGI.spec b/perl-FCGI.spec new file mode 100644 index 0000000..9f46912 --- /dev/null +++ b/perl-FCGI.spec @@ -0,0 +1,65 @@ +Name: perl-FCGI +Summary: FastCGI Perl bindings +# needed to properly replace/obsolete fcgi-perl +Epoch: 1 +Version: 0.71 +Release: 2%{?dist} +# same as fcgi +License: OML +Group: Development/Libraries +Source0: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/FCGI-%{version}.tar.gz +URL: http://search.cpan.org/dist/FCGI +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +BuildRequires: perl(ExtUtils::MakeMaker) + +Provides: fcgi-perl = %{epoch}:%{version}-%{release} +Obsoletes: fcgi-perl =< 2.4.0 + +%{?perl_default_filter} +%{?perl_default_subpackage_tests} + +%description +%{summary}. + +%prep +%setup -q -n FCGI-%{version} +find . -type f -exec chmod -c -x {} + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} + +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' + +%{_fixperms} %{buildroot}/* + +%check +make test + + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc ChangeLog README LICENSE.TERMS echo.PL remote.PL threaded.PL +%{perl_vendorarch}/* +%exclude %dir %{perl_vendorarch}/auto +%{_mandir}/man3/*.3* + +%changelog +* Sat May 15 2010 Chris Weyl 1:0.71-2 +- fix license: BSD => OML + +* Sat May 08 2010 Chris Weyl 1:0.71-1 +- specfile by Fedora::App::MaintainerTools 0.006 + + diff --git a/sources b/sources index e69de29..b877670 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +26bc4ea53ccc9c9c16695e88e46a1cfb FCGI-0.71.tar.gz From a4d98b52897c6daf11a46bd05603d41c8e232625 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Sun, 16 May 2010 04:24:36 +0000 Subject: [PATCH 5/7] - and fix our tests subpackage included files --- perl-FCGI.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/perl-FCGI.spec b/perl-FCGI.spec index 9f46912..5d86948 100644 --- a/perl-FCGI.spec +++ b/perl-FCGI.spec @@ -3,7 +3,7 @@ Summary: FastCGI Perl bindings # needed to properly replace/obsolete fcgi-perl Epoch: 1 Version: 0.71 -Release: 2%{?dist} +Release: 3%{?dist} # same as fcgi License: OML Group: Development/Libraries @@ -18,7 +18,7 @@ Provides: fcgi-perl = %{epoch}:%{version}-%{release} Obsoletes: fcgi-perl =< 2.4.0 %{?perl_default_filter} -%{?perl_default_subpackage_tests} +%{?perl_subpackage_tests: %perl_subpackage_tests test.pl .proverc test.t } %description %{summary}. @@ -27,6 +27,10 @@ Obsoletes: fcgi-perl =< 2.4.0 %setup -q -n FCGI-%{version} find . -type f -exec chmod -c -x {} + +echo "test.pl" > .proverc +# limitation in the macros, currently -- must have at least one .t :\ +cp test.pl test.t + %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} @@ -56,6 +60,9 @@ rm -rf %{buildroot} %{_mandir}/man3/*.3* %changelog +* Sat May 15 2010 Chris Weyl 1:0.71-3 +- and fix our tests subpackage included files + * Sat May 15 2010 Chris Weyl 1:0.71-2 - fix license: BSD => OML From 2077aa77ce7c44cc64d9f05a8e23acb7efb4a0b1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 06:38:13 +0000 Subject: [PATCH 6/7] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - import.log | 1 - 4 files changed, 23 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 53365c7..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: perl-FCGI -# $Id$ -NAME := perl-FCGI -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index baa94ef..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-13 diff --git a/import.log b/import.log deleted file mode 100644 index c0c3ce8..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -perl-FCGI-0_71-2_fc13:F-13:perl-FCGI-0.71-2.fc13.src.rpm:1273971859 From b0b4f670eb031cbbe0737fa9521c1cd19775f115 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 06:38:13 +0000 Subject: [PATCH 7/7] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - import.log | 1 - 4 files changed, 23 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 53365c7..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: perl-FCGI -# $Id$ -NAME := perl-FCGI -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index 06de2d2..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-12 diff --git a/import.log b/import.log deleted file mode 100644 index 507e0fc..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -perl-FCGI-0_71-2_fc13:F-12:perl-FCGI-0.71-2.fc13.src.rpm:1273971874