[perl-Symbol-Util] Clean up spec file

Emmanuel Seyman eseyman at fedoraproject.org
Sun Mar 11 10:32:04 UTC 2012


commit b6baedc40bb60f115eea6295775a9cb18660ad84
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date:   Sun Mar 11 11:31:57 2012 +0100

    Clean up spec file

 perl-Symbol-Util.spec |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/perl-Symbol-Util.spec b/perl-Symbol-Util.spec
index 3824210..5e915dc 100644
--- a/perl-Symbol-Util.spec
+++ b/perl-Symbol-Util.spec
@@ -1,12 +1,11 @@
 Name:           perl-Symbol-Util
 Version:        0.0202
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        Additional utilities for Perl symbols manipulation
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Symbol-Util/
 Source0:        http://www.cpan.org/authors/id/D/DE/DEXTER/Symbol-Util-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(Test::More)
@@ -28,8 +27,6 @@ chmod -x eg/delete_glob.pl
 ./Build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
@@ -38,16 +35,15 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 ./Build test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes eg LICENSE README xt
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Sun Mar 11 2012 Emmanuel Seyman <emmanuel.seyman at club-internet.fr - 0.0202-9
+- Clean up spec file
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.0202-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 



More information about the perl-devel mailing list