[perl-STD] 20101111 bump

Petr Pisar ppisar at fedoraproject.org
Tue Nov 5 12:19:37 UTC 2013


commit 90e373a5ead2978509f50fe55d01975ab376f882
Author: Petr Písař <ppisar at redhat.com>
Date:   Tue Nov 5 13:17:24 2013 +0100

    20101111 bump

 .gitignore    |    1 +
 perl-STD.spec |   37 +++++++++++++++----------------------
 sources       |    2 +-
 3 files changed, 17 insertions(+), 23 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 49bbf8c..f619c07 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /STD-32116.tar.gz
+/STD-20101111.tar.gz
diff --git a/perl-STD.spec b/perl-STD.spec
index 38c8175..33ea9ac 100644
--- a/perl-STD.spec
+++ b/perl-STD.spec
@@ -1,6 +1,6 @@
 Name:           perl-STD
-Version:        32116
-Release:        11%{?dist}
+Version:        20101111
+Release:        1%{?dist}
 Summary:        The Standard Perl 6 Grammar
 License:        Artistic 2.0
 Group:          Development/Libraries
@@ -8,25 +8,20 @@ URL:            http://search.cpan.org/dist/STD/
 Source0:        http://www.cpan.org/authors/id/S/SO/SOREAR/STD-%{version}.tar.gz
 BuildArch:      noarch
 BuildRequires:  perl >= 4:5.10
-BuildRequires:  perl(File::ShareDir) >= 1.02
+BuildRequires:  perl(base)
+BuildRequires:  perl(lib)
 BuildRequires:  perl(Module::Build) >= 0.37
-BuildRequires:  perl(Moose)
-BuildRequires:  perl(YAML::XS)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# No tests run
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(File::ShareDir) >= 1.02
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Provides:       perl(STD) = %{version}
 
-# Remove unversioned Requires
-%filter_from_requires /perl(File::ShareDir)$/d
+# Remove under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::ShareDir\\)$
 # Remove private packages 
-%filter_from_requires /^perl(mangle.pl)$/d
-%filter_from_requires /^perl(STD_P5)$/d
-%filter_from_requires /^perl(STD_P6)$/d
-%filter_from_requires /^perl(RE_ast)$/d
-%filter_from_requires /^perl(STD::Cursor)$/d
-%filter_setup
-
-%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(mangle.pl|STD_P5|STD_P6|RE_ast|STD::Cursor|File::ShareDir\\)$
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(mangle.pl|STD_P5|STD_P6|RE_ast|STD::Cursor\\)$
 
 %description
 %{summary}.
@@ -35,22 +30,17 @@ Provides:       perl(STD) = %{version}
 %setup -q -n STD-%{version}
 
 %build
-%{__perl} Build.PL installdirs=core
+perl Build.PL installdirs=core
 ./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/*
 
 %check
 ./Build test
 
 %files
-%defattr(-,root,root,-)
 %doc LICENSE
 %{perl_privlib}/*
 %{_bindir}/*
@@ -58,6 +48,9 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
 
 %changelog
+* Tue Nov 05 2013 Petr Pisar <ppisar at redhat.com> - 20101111-1
+- 20101111 bump
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 32116-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index c2f0ac7..15c0be9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fc84fda3b80eef3708d8a51dfcb9a5ba  STD-32116.tar.gz
+a8ebd8d331d14789cf39e58eeada85e4  STD-20101111.tar.gz


More information about the scm-commits mailing list