[perl-IO-String] Clean spec file

Petr Pisar ppisar at fedoraproject.org
Fri Jun 1 07:17:23 UTC 2012


commit c2dd9b210362324e39daf5db70e8f4df08a82ab7
Author: Petr Písař <ppisar at redhat.com>
Date:   Fri Jun 1 09:12:40 2012 +0200

    Clean spec file

 perl-IO-String.spec |   14 ++++----------
 1 files changed, 4 insertions(+), 10 deletions(-)
---
diff --git a/perl-IO-String.spec b/perl-IO-String.spec
index 897ffa0..8d3dd14 100644
--- a/perl-IO-String.spec
+++ b/perl-IO-String.spec
@@ -1,14 +1,11 @@
 Name:           perl-IO-String
 Version:        1.08
-Release:        14%{?dist}
+Release:        15%{?dist}
 Summary:        Emulate file interface for in-core strings
-
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/IO-String/
 Source0:        http://www.cpan.org/authors/id/G/GA/GAAS/IO-String-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -38,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 -type d -depth -exec rmdir {} 2>/dev/null ';'
@@ -49,18 +45,16 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 make test
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/IO/
 %{_mandir}/man3/*.3*
 
 
 %changelog
+* Fri Jun 01 2012 Petr Pisar <ppisar at redhat.com> - 1.08-15
+- Clean spec file
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.08-14
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 



More information about the perl-devel mailing list