[perl-File-Flock] Clean up spec file and add perl default filter

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

 



commit 7629029694a4bea60c1dc7395388d228d1f44018
Author: Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx>
Date:   Thu May 31 13:18:47 2012 +0200

    Clean up spec file and add perl default filter

 perl-File-Flock.spec |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/perl-File-Flock.spec b/perl-File-Flock.spec
index d58cc02..0e23fb1 100644
--- a/perl-File-Flock.spec
+++ b/perl-File-Flock.spec
@@ -1,16 +1,17 @@
 Name:           perl-File-Flock
 Version:        2008.01
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        File locking with flock
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/File-Flock/
 Source0:        http://www.cpan.org/authors/id/M/MU/MUIR/modules/File-Flock-%{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))
 
+%{?perl_default_filter}
+
 %description
 Lock files using the flock() call. If the file to be locked does not exist,
 then the file is created. If the file was created then it will be removed
@@ -24,8 +25,6 @@ when it is unlocked assuming it's still an empty file.
 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 {} \;
@@ -36,16 +35,16 @@ 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 CHANGELOG README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Thu May 31 2012 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> - 2008.01-9
+- Clean up spec file
+- Add perl default filter
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 2008.01-8
 - 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