[perl-HTTP-Server-Simple/f15] spec cleanup, add explicit requires on perl(CGI)

Tom Callaway spot at fedoraproject.org
Tue Jul 5 16:03:25 UTC 2011


commit 45cbae995c3045919c2afd2980ca1445179241ed
Author: Tom "spot" Callaway <tcallawa at redhat.com>
Date:   Tue Jul 5 12:03:14 2011 -0400

    spec cleanup, add explicit requires on perl(CGI)

 perl-HTTP-Server-Simple.spec |   20 +++++++++++---------
 sources                      |    2 +-
 2 files changed, 12 insertions(+), 10 deletions(-)
---
diff --git a/perl-HTTP-Server-Simple.spec b/perl-HTTP-Server-Simple.spec
index bc9ba82..bdf5660 100644
--- a/perl-HTTP-Server-Simple.spec
+++ b/perl-HTTP-Server-Simple.spec
@@ -1,13 +1,12 @@
 Name:           perl-HTTP-Server-Simple
-Version:        0.43
-Release:        3%{?dist}
+Version:        0.44
+Release:        1%{?dist}
 Summary:        Very simple standalone HTTP daemon
 
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/HTTP-Server-Simple/
 Source0:        http://www.cpan.org/authors/id/J/JE/JESSE/HTTP-Server-Simple-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 BuildRequires:  perl(CGI)
@@ -15,6 +14,8 @@ BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod), perl(Test::Pod::Coverage)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# Not autodetected
+Requires:       perl(CGI)
 
 %description
 HTTP::Server::Simple is a very simple standalone HTTP daemon with no non-core
@@ -34,7 +35,6 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
@@ -45,18 +45,20 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 make test
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README ex/
 %{perl_vendorlib}/HTTP/
 %{_mandir}/man3/*.3pm*
 
 
 %changelog
+* Tue Jul  5 2011 Tom Callaway <spot at fedoraproject.org> - 0.44-1
+- update to 0.44
+- add explicit Requires for perl(CGI), since it is not autodetected (bz719048)
+
+* Mon Jun 20 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0.43-4
+- Perl mass rebuild
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.43-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 6d8290a..7593844 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8f430708ab7b4c2b3a4e48c549c7185e  HTTP-Server-Simple-0.43.tar.gz
+70d4ae98affb9e921ab1478bbdffca3b  HTTP-Server-Simple-0.44.tar.gz


More information about the scm-commits mailing list