[perl-SUPER/f17] (9 commits) ...Merge branch 'master' into el5
by Paul Howarth
Summary of changes:
fbfbd94... update to 0.16 (*)
e0c02d2... Initialize branch EL-5 for perl-SUPER (*)
e542a60... Fix typo that causes a failure to update the common directo (*)
9288f70... Fix typo that causes a failure to update the common directo (*)
04f0a15... Initialize branch EL-6 for perl-SUPER (*)
05e667c... dist-git conversion (*)
eef2d54... dist-git conversion (*)
f1c3082... Merge branch 'master' into el6 (*)
5611499... Merge branch 'master' into el5 (*)
(*) This commit already existed in another branch; no separate mail sent
12 years, 3 months
[perl-SUPER: 11/11] Spec clean-up
by Paul Howarth
commit 2a0b790122ade04a085bccecf37bf38b49535729
Author: Paul Howarth <paul(a)city-fan.org>
Date: Tue Mar 6 11:39:02 2012 +0000
Spec clean-up
- Add provides filters that work with all supported distributions
- BR: perl(Carp) and perl(Exporter)
- Make %files list more explicit
- Drop explicit requires of perl(Exporter) since it's auto-detected by rpm
4.9 onwards, and is bundled with perl on all older distributions
- Don't need to remove empty directories from buildroot
- Don't use macros for commands
- %defattr redundant since rpm 4.4
- Use tabs
perl-SUPER.spec | 76 ++++++++++++++++++++++++++++++------------------------
1 files changed, 42 insertions(+), 34 deletions(-)
---
diff --git a/perl-SUPER.spec b/perl-SUPER.spec
index 8a0424b..077c8f3 100644
--- a/perl-SUPER.spec
+++ b/perl-SUPER.spec
@@ -1,49 +1,47 @@
-Name: perl-SUPER
-Version: 1.17
-Release: 6%{?dist}
-Summary: Sane superclass method dispatcher
-License: GPL+ or Artistic
-Group: Development/Libraries
-URL: http://search.cpan.org/dist/SUPER/
-Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHROMATIC/SUPER-%{version}.ta...
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch: noarch
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-BuildRequires: perl(Module::Build)
-BuildRequires: perl(Test::Simple) >= 0.61
-BuildRequires: perl(Sub::Identify) >= 0.03
-BuildRequires: perl(Scalar::Util) >= 1.20
-
-Requires: perl(Exporter)
-Requires: perl(Scalar::Util) >= 1.20
-Requires: perl(Sub::Identify) >= 0.03
-
-%{?perl_default_filter:
-%filter_from_provides /perl(UNIVERSAL)/d; /perl(DB)/d
-%perl_default_filter
-}
+Name: perl-SUPER
+Version: 1.17
+Release: 7%{?dist}
+Summary: Sane superclass method dispatcher
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/SUPER/
+Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHROMATIC/SUPER-%{version}.ta...
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+BuildArch: noarch
+BuildRequires: perl(Carp)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(Module::Build)
+BuildRequires: perl(Scalar::Util) >= 1.20
+BuildRequires: perl(Sub::Identify) >= 0.03
+BuildRequires: perl(Test::Simple) >= 0.61
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires: perl(Scalar::Util) >= 1.20
+Requires: perl(Sub::Identify) >= 0.03
+
+# Filter out bogus provides (rpm 4.9 onwards)
+%global __provides_exclude ^perl\\((DB|UNIVERSAL)\\)
%description
When subclassing a class, you occasionally want to dispatch control to the
-superclass -- at least conditionally and temporarily. This module provides
+superclass - at least conditionally and temporarily. This module provides
an easier, cleaner way for class methods to access their ancestor's
implementation.
%prep
%setup -q -n SUPER-%{version}
+# Filter out bogus provides (prior to rpm 4.9)
+%global provfilt /bin/sh -c "%{__perl_provides} | grep -Evx 'perl[(](DB|UNIVERSAL)[)]'"
+%define __perl_provides %{provfilt}
+
%build
-%{__perl} Build.PL installdirs=vendor
+perl Build.PL installdirs=vendor
./Build
%install
rm -rf %{buildroot}
-
./Build install destdir=%{buildroot} create_packlist=0
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} %{buildroot}/*
+%{_fixperms} %{buildroot}
%check
./Build test
@@ -52,12 +50,22 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
rm -rf %{buildroot}
%files
-%defattr(-,root,root,-)
%doc Changes README
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%{perl_vendorlib}/SUPER.pm
+%{_mandir}/man3/SUPER.3pm*
%changelog
+* Tue Mar 6 2012 Paul Howarth <paul(a)city-fan.org> - 1.17-7
+- Add provides filters that work with all supported distributions
+- BR: perl(Carp) and perl(Exporter)
+- Make %%files list more explicit
+- Drop explicit requires of perl(Exporter) since it's auto-detected by rpm
+ 4.9 onwards, and is bundled with perl on all older distributions
+- Don't need to remove empty directories from buildroot
+- Don't use macros for commands
+- %%defattr redundant since rpm 4.4
+- Use tabs
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.17-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
12 years, 3 months
[perl-SUPER: 10/11] Changelog clean-up
by Paul Howarth
commit 0995cf1650d20c15190266f4712e8dc425a4991f
Author: Paul Howarth <paul(a)city-fan.org>
Date: Tue Mar 6 10:59:32 2012 +0000
Changelog clean-up
.gitignore | 2 +-
perl-SUPER.spec | 54 +++++++++++++++++++++++++++---------------------------
2 files changed, 28 insertions(+), 28 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ee7a5a4..3436c98 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-SUPER-1.17.tar.gz
+/SUPER-[0-9.]*.tar.gz
diff --git a/perl-SUPER.spec b/perl-SUPER.spec
index fe59959..8a0424b 100644
--- a/perl-SUPER.spec
+++ b/perl-SUPER.spec
@@ -68,19 +68,19 @@ rm -rf %{buildroot}
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Dec 22 2010 Marcela Maslanova <mmaslano(a)redhat.com> - 1.17-3
-- 661697 rebuild for fixing problems with vendorach/lib
+- Rebuild to fix problems with vendorarch/lib (#661697)
* Thu May 06 2010 Marcela Maslanova <mmaslano(a)redhat.com> - 1.17-2
- Mass rebuild with perl-5.12.0
-* Sun Sep 27 2009 Chris Weyl <cweyl(a)alumni.drew.edu> 1.17-1
-- update filtering
-- auto-update to 1.17 (by cpan-spec-update 0.01)
-- added a new br on perl(Scalar::Util) (version 1.20)
-- altered br on perl(Sub::Identify) (0 => 0.03)
-- altered br on perl(Test::Simple) (0 => 0.61)
-- added a new req on perl(Scalar::Util) (version 1.20)
-- added a new req on perl(Sub::Identify) (version 0.03)
+* Sun Sep 27 2009 Chris Weyl <cweyl(a)alumni.drew.edu> - 1.17-1
+- Update filtering
+- Auto-update to 1.17 (by cpan-spec-update 0.01)
+- Added a new br on perl(Scalar::Util) (version 1.20)
+- Altered br on perl(Sub::Identify) (0 => 0.03)
+- Altered br on perl(Test::Simple) (0 => 0.61)
+- Added a new req on perl(Scalar::Util) (version 1.20)
+- Added a new req on perl(Sub::Identify) (version 0.03)
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.16-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
@@ -88,28 +88,28 @@ rm -rf %{buildroot}
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.16-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
-* Tue Mar 04 2008 Tom "spot" Callaway <tcallawa(a)redhat.com> 1.16-3
-- rebuild for new perl
+* Tue Mar 04 2008 Tom "spot" Callaway <tcallawa(a)redhat.com> - 1.16-3
+- Rebuild for new perl
-* Wed Jan 02 2008 Ralf Corsépius <rc040203(a)freenet.de> 1.16-2
-- Adjust License-tag.
-- BR: perl(Test::Simple) (BZ 419631).
+* Wed Jan 02 2008 Ralf Corsépius <rc040203(a)freenet.de> - 1.16-2
+- Adjust License-tag
+- BR: perl(Test::Simple) (BZ 419631)
-* Wed Apr 04 2007 Chris Weyl <cweyl(a)alumni.drew.edu> 1.16-1
-- update to 1.16
+* Wed Apr 04 2007 Chris Weyl <cweyl(a)alumni.drew.edu> - 1.16-1
+- Update to 1.16
-* Tue Oct 03 2006 Chris Weyl <cweyl(a)alumni.drew.edu> 1.15-1
-- update to 1.15
-- add explict requires on perl(Exporter); missed due to a use base construct
+* Tue Oct 03 2006 Chris Weyl <cweyl(a)alumni.drew.edu> - 1.15-1
+- Update to 1.15
+- Add explict requires on perl(Exporter); missed due to a use base construct
-* Thu Sep 07 2006 Chris Weyl <cweyl(a)alumni.drew.edu> 1.14-4
-- bump
+* Thu Sep 07 2006 Chris Weyl <cweyl(a)alumni.drew.edu> - 1.14-4
+- Bump
-* Thu Sep 07 2006 Chris Weyl <cweyl(a)alumni.drew.edu> 1.14-3
-- update %%description and %%summary
+* Thu Sep 07 2006 Chris Weyl <cweyl(a)alumni.drew.edu> - 1.14-3
+- Update %%description and %%summary
-* Thu Sep 07 2006 Chris Weyl <cweyl(a)alumni.drew.edu> 1.14-2
-- filter errant perl(DB) provide
+* Thu Sep 07 2006 Chris Weyl <cweyl(a)alumni.drew.edu> - 1.14-2
+- Filter errant perl(DB) provide
-* Tue Sep 05 2006 Chris Weyl <cweyl(a)alumni.drew.edu> 1.14-1
-- Specfile autogenerated by cpanspec 1.69.1.
+* Tue Sep 05 2006 Chris Weyl <cweyl(a)alumni.drew.edu> - 1.14-1
+- Specfile autogenerated by cpanspec 1.69.1
12 years, 3 months
[perl-SUPER: 9/11] Merge branch 'master' into el5
by Paul Howarth
commit 56114997e4695b33bbd4ce6ef7903239438c6125
Merge: 05e667c f1c3082
Author: Paul Howarth <paul(a)city-fan.org>
Date: Tue Mar 6 10:52:07 2012 +0000
Merge branch 'master' into el5
Conflicts:
.gitignore
perl-SUPER.spec
sources
.gitignore | 2 +-
filter-provides.sh | 3 --
perl-SUPER.spec | 66 +++++++++++++++++++++++++++++++++++++++++----------
sources | 2 +-
4 files changed, 55 insertions(+), 18 deletions(-)
---
12 years, 3 months
[perl-SUPER: 8/11] Merge branch 'master' into el6
by Paul Howarth
commit f1c30826d7d47f732a031d4358f1dd7dcc64fa37
Merge: eef2d54 2b9c372
Author: Paul Howarth <paul(a)city-fan.org>
Date: Tue Mar 6 10:49:59 2012 +0000
Merge branch 'master' into el6
perl-SUPER.spec | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
---
12 years, 3 months
[perl-SUPER] (11 commits) ...Spec clean-up
by Paul Howarth
Summary of changes:
fbfbd94... update to 0.16 (*)
e0c02d2... Initialize branch EL-5 for perl-SUPER (*)
e542a60... Fix typo that causes a failure to update the common directo (*)
9288f70... Fix typo that causes a failure to update the common directo (*)
04f0a15... Initialize branch EL-6 for perl-SUPER (*)
05e667c... dist-git conversion (*)
eef2d54... dist-git conversion (*)
f1c3082... Merge branch 'master' into el6
5611499... Merge branch 'master' into el5
0995cf1... Changelog clean-up
2a0b790... Spec clean-up
(*) This commit already existed in another branch; no separate mail sent
12 years, 3 months