[perl-HTTP-Server-Simple-Static] Add BR: perl(ExtUtils::MakeMaker) (Fix FTBFS #914288).

corsepiu corsepiu at fedoraproject.org
Mon Feb 25 06:46:47 UTC 2013


commit c9606ac4f3a1b55114461080d9d0fa4894ccca75
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Mon Feb 25 07:46:38 2013 +0100

    Add BR: perl(ExtUtils::MakeMaker) (Fix FTBFS #914288).
    
    - Modernize spec.

 perl-HTTP-Server-Simple-Static.spec |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/perl-HTTP-Server-Simple-Static.spec b/perl-HTTP-Server-Simple-Static.spec
index e437661..83c8ccb 100644
--- a/perl-HTTP-Server-Simple-Static.spec
+++ b/perl-HTTP-Server-Simple-Static.spec
@@ -1,13 +1,13 @@
 Name:		perl-HTTP-Server-Simple-Static
 Version:	0.07
-Release:	12%{?dist}
+Release:	13%{?dist}
 Summary:	Serve static files with HTTP::Server::Simple
 Group:		Development/Libraries
 License:	GPL+ or Artistic
 URL:		http://search.cpan.org/dist/HTTP-Server-Simple-Static/
 Source0:	http://search.cpan.org/CPAN/authors/id/S/SJ/SJQUINNEY/HTTP-Server-Simple-Static-%{version}.tar.gz
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:	noarch
+BuildRequires:	perl(ExtUtils::MakeMaker)
 BuildRequires:	perl(URI::Escape), perl(Exporter), perl(File::MMagic), perl(File::Spec::Functions)
 BuildRequires:	perl(Test::Pod), perl(Test::Pod::Coverage), perl(HTTP::Server::Simple), perl(IO::File)
 BuildRequires:	perl(MIME::Types)
@@ -25,7 +25,6 @@ HTTP::Server::Simple subclass.
 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 ';'
@@ -37,9 +36,6 @@ rm -rf $RPM_BUILD_ROOT%{perl_vendorlib}/HTTP/Server/Simple/example.pl
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
 %doc Changes README example.pl
@@ -47,6 +43,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*.3pm*
 
 %changelog
+* Mon Feb 25 2013 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.07-13
+- Add BR: perl(ExtUtils::MakeMaker) (Fix FTBFS #914288).
+- Modernize spec.
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.07-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list