[perl-Crypt-Simple] Clean up spec file and add perl default filter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 137b4ad884b31aa3ef789e72672aa6db8a5ff2fb
Author: Emmanuel Seyman <manu@orient.(none)>
Date:   Wed May 30 16:40:41 2012 +0200

    Clean up spec file and add perl default filter

 perl-Crypt-Simple.spec |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/perl-Crypt-Simple.spec b/perl-Crypt-Simple.spec
index 291a132..5f8924b 100644
--- a/perl-Crypt-Simple.spec
+++ b/perl-Crypt-Simple.spec
@@ -1,13 +1,12 @@
 Name:           perl-Crypt-Simple
 Version:        0.06
-Release:        14%{?dist}
+Release:        15%{?dist}
 Summary:        Encrypt stuff simply 
 
 Group:          Development/Libraries
 License:        GPLv2+
 URL:            http://search.cpan.org/dist/Crypt-Simple/
 Source0:        http://search.cpan.org/CPAN/authors/id/K/KA/KASEI/Crypt-Simple-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 
@@ -16,6 +15,8 @@ BuildRequires:  perl(ExtUtils::MakeMaker) perl(Test::Simple)
 
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 This little module will convert all your data into nice base64 text that
 you can save in a text file, send in an email, store in a cookie or web
@@ -33,7 +34,6 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make pure_install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 # Remove the next line from noarch packages (unneeded)
@@ -46,12 +46,7 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 make test
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc README
 # For noarch packages: vendorlib
 %{perl_vendorlib}/*
@@ -59,6 +54,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed May 30 2012 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> - 0.06-15
+- Clean up spec file
+- Add perl default filter
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.06-14
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux