[perl-TheSchwartz] Fix upstream URL, various clean ups

Emmanuel Seyman eseyman at fedoraproject.org
Sun Oct 28 13:12:10 UTC 2012


commit 7e86c9792af34b789ea4c1dcdd69dad7b24feb3a
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date:   Sun Oct 28 14:12:01 2012 +0100

    Fix upstream URL, various clean ups

 perl-TheSchwartz.spec |   19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/perl-TheSchwartz.spec b/perl-TheSchwartz.spec
index 2db7b9c..8cf2eac 100644
--- a/perl-TheSchwartz.spec
+++ b/perl-TheSchwartz.spec
@@ -1,12 +1,10 @@
 Name:           perl-TheSchwartz
 Version:        1.10
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        Reliable job queue
 License:        GPL+ or Artistic
-Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/TheSchwartz/
-Source0:        http://www.cpan.org/authors/id/B/BR/BRADFITZ/TheSchwartz-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://search.cpan.org/CPAN/authors/id/S/SI/SIXAPART/TheSchwartz-1.10.tar.gz
 BuildArch:      noarch
 BuildRequires:  perl(Data::ObjectDriver)
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -14,6 +12,8 @@ BuildRequires:  perl(Test::More)
 BuildRequires:  perl(CPAN)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 TheSchwartz is a reliable job queue system. Your application can put jobs
 into the system and your worker processes can pull jobs from the queue
@@ -27,8 +27,6 @@ atomically to perform. Failed jobs can be left in the queue to retry later.
 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,11 +37,7 @@ 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
 %{perl_vendorlib}/*
 %{_mandir}/man1/*
@@ -51,6 +45,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_bindir}/schwartzmon
 
 %changelog
+* Sun Oct 28 2012 Emmanuel Seyman <emmanuel at seyman.fr> - 1.10-10
+- Fix upstream URL
+- Clean up spec file
+- Add perl default filter
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.10-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list