[perl-Math-Symbolic] 0.609 bump

Petr Šabata psabata at fedoraproject.org
Wed May 15 08:54:26 UTC 2013


commit e0f98c09fcab3c32582169b6413962e4da98acab
Author: Petr Šabata <contyk at redhat.com>
Date:   Wed May 15 10:54:21 2013 +0200

    0.609 bump

 .gitignore              |    1 +
 perl-Math-Symbolic.spec |   49 +++++++++++++++++++---------------------------
 sources                 |    2 +-
 3 files changed, 22 insertions(+), 30 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f6dfd3f..cc5d72a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 Math-Symbolic-0.510.tar.gz
 /Math-Symbolic-0.604.tar.gz
 /Math-Symbolic-0.606.tar.gz
+/Math-Symbolic-0.609.tar.gz
diff --git a/perl-Math-Symbolic.spec b/perl-Math-Symbolic.spec
index edce15a..e3e2ea0 100644
--- a/perl-Math-Symbolic.spec
+++ b/perl-Math-Symbolic.spec
@@ -1,28 +1,28 @@
 Name:           perl-Math-Symbolic
-Version:        0.606
-Release:        8%{?dist}
+Version:        0.609
+Release:        1%{?dist}
 Summary:        Symbolic calculations
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Math-Symbolic/
 Source0:        http://www.cpan.org/authors/id/S/SM/SMUELLER/Math-Symbolic-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildREquires:  perl(constant)
 BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(Exporter)
 BuildRequires:  perl(Memoize) >= 1.01
-# We do not use MakeFile.PL and thus ExtUtils::MakeMaker.
 BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(Parse::RecDescent)
-BuildRequires:  perl(Test::Distribution)
+BuildRequires:  perl(strict)
 BuildRequires:  perl(Test::More)
-BuildRequires:  perl(Test::Pod) >= 1.0
-BuildRequires:  perl(Test::Pod::Coverage) >= 1.0
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
 Requires:       perl(Memoize) >= 1.01
 
-# RPM 4.8 style:
-%filter_from_requires /perl(Memoize)$/d
-%filter_setup
 # RPM 4.9 style:
 %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Memoize\\)$
 
@@ -38,38 +38,29 @@ for file in Changes README `find lib -name '*.pm'`; do
   touch -r $file $file.utf8
   mv $file.utf8 $file
 done
+chmod -c a-x examples/*
 
 %build
-%{__perl} Build.PL installdirs=vendor
+perl Build.PL installdirs=vendor
 ./Build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
-
-rm -rf __dist_examples
-mkdir __dist_examples
-cp -a examples __dist_examples
-chmod a-x __dist_examples/examples/*
-
+./Build install destdir=%{buildroot} create_packlist=0
+%{_fixperms} %{buildroot}/*
 
 %check
 ./Build test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
-%doc Changes README TODO Yapp.yp __dist_examples/examples/
+%doc Changes README TODO Yapp.yp examples
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Wed May 15 2013 Petr Šabata <contyk at redhat.com> - 0.609-1
+- 0.609 bump
+- Modernize the spec a bit
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.606-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index f49f582..8154b3c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6272de6bfc780ec1476e08d209816dcf  Math-Symbolic-0.606.tar.gz
+9dfcc432600256b8828f4f1d47445bc4  Math-Symbolic-0.609.tar.gz



More information about the perl-devel mailing list