[perl-HTTP-Server-Simple-PSGI] Spec cleanup.

corsepiu corsepiu at fedoraproject.org
Mon Mar 14 16:37:52 UTC 2011


commit 30d786c91b4045e9c11f588fb03d6bd92b979984
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Mon Mar 14 17:37:39 2011 +0100

    Spec cleanup.

 perl-HTTP-Server-Simple-PSGI.spec |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/perl-HTTP-Server-Simple-PSGI.spec b/perl-HTTP-Server-Simple-PSGI.spec
index 13bfdab..ee1192c 100644
--- a/perl-HTTP-Server-Simple-PSGI.spec
+++ b/perl-HTTP-Server-Simple-PSGI.spec
@@ -1,12 +1,11 @@
 Name:           perl-HTTP-Server-Simple-PSGI
 Version:        0.14
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        PSGI handler for HTTP::Server::Simple
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/HTTP-Server-Simple-PSGI/
 Source0:        http://www.cpan.org/authors/id/M/MI/MIYAGAWA/HTTP-Server-Simple-PSGI-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(HTTP::Server::Simple) >= 0.42
@@ -27,8 +26,6 @@ so it's best to be used as an embedded web server.
 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 {} \;
@@ -39,9 +36,6 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
 %doc Changes README
@@ -49,5 +43,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Mon Mar 14 2011 Ralf Corsépius <corsepiu at fedoraproject.org> 0.14-2
+- Spec cleanup.
+
 * Sun Jan 16 2011 Ralf Corsépius <corsepiu at fedoraproject.org> 0.14-1
 - Initial Fedora package.



More information about the perl-devel mailing list