[perl-Class-Accessor-Chained] fix build

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

 



commit bc6c532eb0e8b7c80ac9fd7deee1df041e1caa0b
Author: Tom Callaway <spot@xxxxxxxxxxxxxxxxx>
Date:   Sun Jan 22 23:55:51 2012 -0500

    fix build

 perl-Class-Accessor-Chained.spec |   18 +++++++-----------
 1 files changed, 7 insertions(+), 11 deletions(-)
---
diff --git a/perl-Class-Accessor-Chained.spec b/perl-Class-Accessor-Chained.spec
index f5f75e2..8ea3f4a 100644
--- a/perl-Class-Accessor-Chained.spec
+++ b/perl-Class-Accessor-Chained.spec
@@ -1,17 +1,16 @@
 Name:           perl-Class-Accessor-Chained
 Version:        0.01
-Release:        15%{?dist}
+Release:        16%{?dist}
 Summary:        Make chained accessors
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Class-Accessor-Chained/
 Source0:        http://search.cpan.org/CPAN/authors/id/R/RC/RCLAMP/Class-Accessor-Chained-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 BuildArch:      noarch
 BuildRequires:  perl(Class::Accessor), perl(Test::More)
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Requires:  perl(Class::Accessor), perl(Class::Accessor::Fast)
+BuildRequires:  perl(Pod::Perldoc)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(Class::Accessor), perl(Class::Accessor::Fast)
 
 %description
 %{summary}.
@@ -27,7 +26,6 @@ perldoc -t perlgpl > COPYING
 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 {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
@@ -36,17 +34,15 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README.txt Artistic COPYING
 %{perl_vendorlib}/Class/Accessor
 %{_mandir}/man3/*.3*
 
-
 %changelog
+* Sun Jan 22 2012 Tom Callaway <spot@xxxxxxxxxxxxxxxxx> - 0.01-16
+- fix build
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.01-15
 - 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