[perl-CGI-Emulate-PSGI] - Merge-in *.spec from BZ 664815. - Update to 0.10. - Remove *-tests subpackage.

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

 



commit 37b3258d37fc8ef982a066f02a89d6c0416b97b5
Author: Ralf CorsÃpius <corsepiu@xxxxxxxxxxxxxxxxx>
Date:   Wed Dec 29 03:52:00 2010 +0100

    - Merge-in *.spec from BZ 664815.
    - Update to 0.10.
    - Remove *-tests subpackage.

 .gitignore                 |    1 +
 perl-CGI-Emulate-PSGI.spec |   49 ++++++++++++++++++-------------------------
 sources                    |    2 +-
 3 files changed, 23 insertions(+), 29 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1c0b348..6c101a3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 CGI-Emulate-PSGI-0.06.tar.gz
+/CGI-Emulate-PSGI-0.10.tar.gz
diff --git a/perl-CGI-Emulate-PSGI.spec b/perl-CGI-Emulate-PSGI.spec
index afd1599..b27038c 100644
--- a/perl-CGI-Emulate-PSGI.spec
+++ b/perl-CGI-Emulate-PSGI.spec
@@ -1,35 +1,25 @@
 Name:           perl-CGI-Emulate-PSGI
-Summary:        PSGI adapter for CGI applications
-Version:        0.06
+Version:        0.10
 Release:        1%{?dist}
+Summary:        PSGI adapter for CGI applications
 License:        GPL+ or Artistic
 Group:          Development/Libraries
-Source0:        http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/CGI-Emulate-PSGI-%{version}.tar.gz 
 URL:            http://search.cpan.org/dist/CGI-Emulate-PSGI
+Source0:        http://www.cpan.org/authors/id/M/MI/MIYAGAWA/CGI-Emulate-PSGI-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch:      noarch
 
+BuildRequires:  perl(CGI)
 BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
 BuildRequires:  perl(HTTP::Response)
-BuildRequires:  perl(Test::More)
-
-Requires:       perl(HTTP::Response)
+BuildRequires:  perl(Test::Builder::Module)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %{?perl_default_filter}
-%{?perl_default_subpackage_tests}
 
 %description
-This module allows an application designed for the CGI environment to
-run in a PSGI environment, and thus on any of the backends that PSGI
-supports.
-
-It works by translating the environment provided by the PSGI
-specification to one expected by the CGI specification. Likewise, it
-captures output as it would be prepared for the CGI standard, and
-translates it to the format expected for the PSGI standard using
-the CGI::Parse::PSGI module.
-
+This module allows an application designed for the CGI environment to run
+in a PSGI environment, and thus on any of the backends that PSGI supports.
 
 %prep
 %setup -q -n CGI-Emulate-PSGI-%{version}
@@ -39,29 +29,32 @@ the CGI::Parse::PSGI module.
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
+
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 
-make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
-%{_fixperms} %{buildroot}/*
+%{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 make test
 
-
 %clean
-rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
-%{_mandir}/man3/*.3*
+%{_mandir}/man3/*
 
 %changelog
+* Wed Dec 29 2010 Ralf CorsÃpius <corsepiu@xxxxxxxxxxxxxxxxx> 0.10-1
+- Merge-in *.spec from BZ 664815.
+- Update to 0.10.
+- Remove *-tests subpackage.
+
 * Sat Mar 20 2010 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.06-1
 - specfile by Fedora::App::MaintainerTools 0.006
-
-
diff --git a/sources b/sources
index d3ca6e9..aeeb545 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8643aba10fe775ece7893982de7f6178  CGI-Emulate-PSGI-0.06.tar.gz
+9a2042692cb410cb7d8b094094d139d9  CGI-Emulate-PSGI-0.10.tar.gz
--
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