[perl-Clone] 0.34 bump

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

 



commit 9d4f7385935c3637982b8727d7f83cea0e286e2b
Author: Petr Šabata <contyk@xxxxxxxxxx>
Date:   Thu Jan 3 17:32:16 2013 +0100

    0.34 bump

 perl-Clone.spec |   42 +++++++++++++++++-------------------------
 sources         |    2 +-
 2 files changed, 18 insertions(+), 26 deletions(-)
---
diff --git a/perl-Clone.spec b/perl-Clone.spec
index d168976..0f2d270 100644
--- a/perl-Clone.spec
+++ b/perl-Clone.spec
@@ -1,29 +1,23 @@
 Name:           perl-Clone
-Version:        0.31
-Release:        11%{?dist}
-Summary:        Recursively copy perl datatypes
+Version:        0.34
+Release:        1%{?dist}
+Summary:        Recursively copy perl data types
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Clone
-Source0:        http://search.cpan.org/CPAN/authors/id/R/RD/RDF/Clone-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:  perl(ExtUtils::ParseXS)
+Source:         http://search.cpan.org/CPAN/authors/id/G/GA/GARU/Clone-%{version}.tar.gz
 BuildRequires:  perl(AutoLoader)
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(DynaLoader)
 BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Scalar::Util)
 BuildRequires:  perl(Taint::Runtime)
 BuildRequires:  perl(Test::More)
-Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
-# don't "provide" private Perl libs
-%global _use_internal_dependency_generator 0
-%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u
-%global __find_provides /bin/sh -c "%{__grep} -v '%_docdir' | %{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}"
-%global __find_requires /bin/sh -c "%{__grep} -v '%_docdir' | %{__deploop R}"
+%{?perl_default_filter}
 
 %description
 This module provides a clone() method which makes recursive
@@ -39,32 +33,30 @@ arrays or hashes, pass them in by reference.
 find . -type f -exec chmod -c -x {} ';'
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 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 f -name '*.bs' -a -size 0 -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
+chmod -R u+w %{buildroot}/*
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes
 %{perl_vendorarch}/auto/Clone/
 %{perl_vendorarch}/Clone.pm
 %{_mandir}/man3/*.3*
 
-
 %changelog
+* Thu Jan 03 2013 Petr Šabata <contyk@xxxxxxxxxx> - 0.34-1
+- 0.34 bump for DBI 1.623
+- Modernize the spec
+- Update filters and Source URL
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.31-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 1b90e0b..011c83d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-65f34e7280d7b7dfb72ab6224e5767f5  Clone-0.31.tar.gz
+6475432d91b1820eff1ae877ea5c8e3b  Clone-0.34.tar.gz
--
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