[perl-Class-Factory-Util] Specify all dependencies and clean up spec

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

 



commit 7dcb4daa2ed388cb0235624646256112cd92b0d1
Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx>
Date:   Tue Aug 7 09:54:55 2012 +0200

    Specify all dependencies and clean up spec

 perl-Class-Factory-Util.spec |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/perl-Class-Factory-Util.spec b/perl-Class-Factory-Util.spec
index d769f8e..9f0237e 100644
--- a/perl-Class-Factory-Util.spec
+++ b/perl-Class-Factory-Util.spec
@@ -1,16 +1,18 @@
 Name:           perl-Class-Factory-Util
 Version:        1.7
-Release:        13%{?dist}
+Release:        14%{?dist}
 Summary:        Provide utility methods for factory classes 
 
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Class-Factory-Util            
 Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Class-Factory-Util-%{version}.tar.gz        
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Test)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod) >= 1.14
 BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
@@ -30,8 +32,6 @@ This module exports utility functions that are useful for factory classes.
 
 
 %install
-rm -rf %{buildroot}
-
 ./Build install destdir=%{buildroot} create_packlist=0
 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 
@@ -42,18 +42,16 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 ./Build test
 
 
-%clean
-rm -rf %{buildroot}
-
-
 %files
-%defattr(-,root,root,-)
 %doc LICENSE Changes
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 
 %changelog
+* Tue Aug  7 2012 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.7-14
+- Update BR and clean up spec for modern rpmbuild.
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.7-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_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