[perl-Declare-Constraints-Simple] Spec clean-up
Paul Howarth
pghmcfc at fedoraproject.org
Mon Jan 23 12:00:29 UTC 2012
commit 26bf65ff9185dba338a53a5ca81629786d775efb
Author: Paul Howarth <paul at city-fan.org>
Date: Mon Jan 23 11:59:45 2012 +0000
Spec clean-up
- Make %files list more explicit
- Classify buildreqs by build/module/test
- Use search.cpan.org source URL
- Don't use macros for commands
- Use tabs
.gitignore | 2 +-
perl-Declare-Constraints-Simple.spec | 83 +++++++++++++++++++++-------------
2 files changed, 53 insertions(+), 32 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2b66e80..f69a343 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-Declare-Constraints-Simple-0.03.tar.gz
+/Declare-Constraints-Simple-[0-9.]*.tar.gz
diff --git a/perl-Declare-Constraints-Simple.spec b/perl-Declare-Constraints-Simple.spec
index ee73011..87cf673 100644
--- a/perl-Declare-Constraints-Simple.spec
+++ b/perl-Declare-Constraints-Simple.spec
@@ -1,25 +1,26 @@
-Name: perl-Declare-Constraints-Simple
-Version: 0.03
-Release: 14%{?dist}
-Summary: Declarative Validation of Data Structures
-License: GPL+ or Artistic
-Group: Development/Libraries
-URL: http://search.cpan.org/dist/Declare-Constraints-Simple/
-Source0: http://www.cpan.org/authors/id/P/PH/PHAYLON/Declare-Constraints-Simple-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch: noarch
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-# core
-BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(Scalar::Util)
-BuildRequires: perl(Test::More)
-# cpan
-BuildRequires: perl(aliased)
-BuildRequires: perl(Carp::Clan)
-BuildRequires: perl(Class::Inspector)
-# test -- optional
-BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage)
+Name: perl-Declare-Constraints-Simple
+Version: 0.03
+Release: 15%{?dist}
+Summary: Declarative Validation of Data Structures
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Declare-Constraints-Simple/
+Source0: http://search.cpan.org/CPAN/authors/id/P/PH/PHAYLON/Declare-Constraints-Simple-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+BuildArch: noarch
+# Build
+BuildRequires: perl(ExtUtils::MakeMaker)
+# Module
+BuildRequires: perl(aliased)
+BuildRequires: perl(Carp::Clan)
+BuildRequires: perl(Class::Inspector)
+BuildRequires: perl(Scalar::Util)
+# Test suite
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Pod)
+BuildRequires: perl(Test::Pod::Coverage)
+# Runtime
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# Filter unwanted Requires: (rpm 4.9 onwards)
%global __requires_exclude ^perl\\(Declare::Constraints::Simple-Library\\)
@@ -57,9 +58,29 @@ rm -rf %{buildroot}
%defattr(-,root,root,-)
%doc Changes README t/
%{perl_vendorlib}/Declare/
-%{_mandir}/man3/Declare::Constraints::Simple*
+%{_mandir}/man3/Declare::Constraints::Simple.3pm*
+%{_mandir}/man3/Declare::Constraints::Simple::Library.3pm*
+%{_mandir}/man3/Declare::Constraints::Simple::Library::Array.3pm*
+%{_mandir}/man3/Declare::Constraints::Simple::Library::Base.3pm*
+%{_mandir}/man3/Declare::Constraints::Simple::Library::Exportable.3pm*
+%{_mandir}/man3/Declare::Constraints::Simple::Library::General.3pm*
+%{_mandir}/man3/Declare::Constraints::Simple::Library::Hash.3pm*
+%{_mandir}/man3/Declare::Constraints::Simple::Library::Numerical.3pm*
+%{_mandir}/man3/Declare::Constraints::Simple::Library::OO.3pm*
+%{_mandir}/man3/Declare::Constraints::Simple::Library::Operators.3pm*
+%{_mandir}/man3/Declare::Constraints::Simple::Library::Referencial.3pm*
+%{_mandir}/man3/Declare::Constraints::Simple::Library::Scalar.3pm*
+%{_mandir}/man3/Declare::Constraints::Simple::Result.3pm*
%changelog
+* Mon Jan 23 2012 Paul Howarth <paul at city-fan.org> - 0.03-15
+- Spec clean-up
+ - Make %%files list more explicit
+ - Classify buildreqs by build/module/test
+ - Use search.cpan.org source URL
+ - Don't use macros for commands
+ - Use tabs
+
* Wed Jan 11 2012 Paul Howarth <paul at city-fan.org> - 0.03-14
- Spec clean-up
- Simplify pre-rpm-4.9 provides filter
@@ -76,7 +97,7 @@ rm -rf %{buildroot}
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Thu Dec 16 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.03-10
-- 661697 rebuild for fixing problems with vendorach/lib
+- Rebuild to fix problems with vendorarch/lib (#661697)
* Fri Apr 30 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.03-9
- Mass rebuild with perl-5.12.0
@@ -88,7 +109,7 @@ rm -rf %{buildroot}
- Mass rebuild with perl-5.12.0
* Mon Dec 7 2009 Stepan Kasal <skasal at redhat.com> - 0.03-6
-- rebuild against perl 5.10.1
+- Rebuild against perl 5.10.1
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.03-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
@@ -96,11 +117,11 @@ rm -rf %{buildroot}
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.03-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
-* Wed Mar 05 2008 Tom "spot" Callaway <tcallawa at redhat.com> 0.03-3
-- rebuild for new perl
+* Wed Mar 05 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.03-3
+- Rebuild for new perl
-* Fri May 04 2007 Chris Weyl <cweyl at alumni.drew.edu> 0.03-2
-- bump
+* Fri May 04 2007 Chris Weyl <cweyl at alumni.drew.edu> - 0.03-2
+- Bump
-* Tue May 01 2007 Chris Weyl <cweyl at alumni.drew.edu> 0.03-1
-- Specfile autogenerated by cpanspec 1.71.
+* Tue May 01 2007 Chris Weyl <cweyl at alumni.drew.edu> - 0.03-1
+- Specfile autogenerated by cpanspec 1.71
More information about the perl-devel
mailing list