[perl-Class-MakeMethods] 1.009 bump

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

 



commit f4fa8dc616455de7bfa105874dc955864ec469ce
Author: Petr Šabata <contyk@xxxxxxxxxx>
Date:   Wed Nov 12 18:19:33 2014 +0100

    1.009 bump

 .gitignore                  |    1 +
 perl-Class-MakeMethods.spec |   78 +++++++++++++++++-------------------------
 sources                     |    2 +-
 3 files changed, 34 insertions(+), 47 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4a11f63..a7acda2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Class-MakeMethods-1.01.tar.gz
+/Class-MakeMethods-1.009.tar.gz
diff --git a/perl-Class-MakeMethods.spec b/perl-Class-MakeMethods.spec
index 4da3017..91fb796 100644
--- a/perl-Class-MakeMethods.spec
+++ b/perl-Class-MakeMethods.spec
@@ -1,37 +1,45 @@
-# $Id: perl-Class-MakeMethods.spec,v 1.10 2010/04/30 09:53:24 mmaslano Exp $
-
 Name:           perl-Class-MakeMethods
-Version:        1.01        
-Release:        19%{?dist}
+Version:        1.009
+Release:        1%{?dist}
 Summary:        Generate common types of methods
-
 Group:          Development/Libraries
 License:        GPL+ or Artistic
-URL:            http://search.cpan.org/dist/Class-MakeMethods            
-Source0: http://search.cpan.org/CPAN/authors/id/E/EV/EVO/Class-MakeMethods-%{version}.tar.gz        
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch:      noarch 
+URL:            http://search.cpan.org/dist/Class-MakeMethods
+Source0: http://search.cpan.org/CPAN/authors/id/E/EV/EVO/Class-MakeMethods-%{version}.tar.gz
+BuildArch:      noarch
+# Build
+BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
-# Run-time:
+# Runtime
 BuildRequires:  perl(Attribute::Handlers)
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(constant)
 BuildRequires:  perl(Exporter)
-BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(File::Path)
-# Tests:
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+# Tests only
+# Provided by Class::MakeMethods::Emulator::accessors*
+# BuildRequires:  perl(accessors)
+# BuildRequires:  perl(accessors::chained)
+# BuildRequires:  perl(accessors::classic)
 BuildRequires:  perl(base)
-# Not needed:   perl(Class::Singleton)
-BuildRequires:  perl(ExtUtils::testlib)
+BuildRequires:  perl(Class::Struct)
 BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(ExtUtils::testlib)
+BuildRequires:  perl(fields)
 BuildRequires:  perl(lib)
-# Not needed:   perl(mcoder)
+# Provided by Class::MakeMethods::Emulator::mcoder
+# BuildRequires:  perl(mcoder)
+# BuildRequires:  perl(mcoder::get)
+# BuildRequires:  perl(mcoder::proxy)
+# BuildRequires:  perl(mcoder::set)
 BuildRequires:  perl(Test::Harness)
-BuildRequires:  perl(Test)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Tie::RefHash)
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:  perl(warnings)
+Requires:  perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
 
 %description
 The Class::MakeMethods framework allows Perl class developers to quickly
@@ -53,48 +61,26 @@ for hundreds of possible combinations of method types.
 %prep
 %setup -q -n Class-MakeMethods-%{version}
 
-
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
 make %{?_smp_mflags}
 
-# make sure the man page is UTF-8...
-cd blib/man3
-for i in Docs::ReadMe.3pm Attribute.3pm ; do
-    iconv --from=ISO-8859-1 --to=UTF-8 Class::MakeMethods::$i > new
-    mv new Class::MakeMethods::$i
-done
-
 %install
-rm -rf %{buildroot}
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
-find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
+make pure_install DESTDIR=%{buildroot}
 chmod -R u+w %{buildroot}/*
 
-# take the benchmark file and let's stick it in % doc
-mv %{buildroot}%{perl_vendorlib}/Class/benchmark.pl .
-# and clean up the interperter
-perl -pi -e 's|^#!perl$|#!/usr/bin/perl|m' benchmark.pl
-
-
 %check
 make test
 
-
-%clean
-rm -rf %{buildroot}
-
-
 %files
-%defattr(-,root,root,-)
-%doc CHANGES README benchmark.pl
+%doc CHANGES README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
-
 %changelog
+* Wed Nov 12 2014 Petr Šabata <contyk@xxxxxxxxxx> - 1.009-1
+- 1.009 bump
+
 * Tue Aug 26 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.01-19
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 5415692..c289fd5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-838c98dcf1b1fff4c5d8cffaec32ebbb  Class-MakeMethods-1.01.tar.gz
+ab3240ff45f2351a7a8b52026728c513  Class-MakeMethods-1.009.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