[perl-Data-Alias] Update to 1.16
Paul Howarth
pghmcfc at fedoraproject.org
Thu Apr 26 10:16:02 UTC 2012
commit 4a00f3589bef52e0f2499d0c57a9ee7d235bd577
Author: Paul Howarth <paul at city-fan.org>
Date: Thu Apr 26 11:15:13 2012 +0100
Update to 1.16
- Update to 1.16
- Use supported API to put destructor calls on the save stack (the
unsupported way used before was wrong for 64-bit systems on perl 5.13.1
and later)
- Document the behaviour of "alias return" in more detail
- Convert .cvsignore to .gitignore
- BR: perl(base), perl(Test::Pod) and perl(Test::Pod::Coverage)
- Use search.cpan.org source URL
- Don't use macros for commands
- Don't need to remove empty directories from buildroot
- Make %files list more explicit
- Use tabs
.gitignore | 3 +-
perl-Data-Alias.spec | 139 +++++++++++++++++++++++++++----------------------
sources | 2 +-
3 files changed, 79 insertions(+), 65 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 20ce32f..72f2448 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-/Data-Alias-1.12.tar.gz
-/Data-Alias-1.15.tar.gz
+/Data-Alias-[0-9.]*.tar.gz
diff --git a/perl-Data-Alias.spec b/perl-Data-Alias.spec
index 239f993..1846a2d 100644
--- a/perl-Data-Alias.spec
+++ b/perl-Data-Alias.spec
@@ -1,23 +1,27 @@
-Name: perl-Data-Alias
-Version: 1.15
-Release: 4%{?dist}
-Summary: Comprehensive set of aliasing operations
-License: GPL+ or Artistic
-Group: Development/Libraries
-URL: http://search.cpan.org/dist/Data-Alias/
-Source0: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Data-Alias-%{version}.tar.gz
-
-BuildRequires: perl(DynaLoader)
-BuildRequires: perl(Exporter)
-BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(File::Spec)
-BuildRequires: perl(Filter::Util::Call)
-BuildRequires: perl(lib)
-BuildRequires: perl(Scalar::Util)
-BuildRequires: perl(strict)
-BuildRequires: perl(Test::More)
-BuildRequires: perl(warnings)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# TODO: BR: perl(Devel::CallParser) when available
+
+Name: perl-Data-Alias
+Version: 1.16
+Release: 1%{?dist}
+Summary: Comprehensive set of aliasing operations
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Data-Alias/
+Source0: http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Data-Alias-%{version}.tar.gz
+BuildRequires: perl(base)
+BuildRequires: perl(DynaLoader)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(File::Spec)
+BuildRequires: perl(Filter::Util::Call)
+BuildRequires: perl(lib)
+BuildRequires: perl(Scalar::Util)
+BuildRequires: perl(strict)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Pod)
+BuildRequires: perl(Test::Pod::Coverage)
+BuildRequires: perl(warnings)
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%{?perl_default_filter}
@@ -30,28 +34,39 @@ reference to both, the two values are the same.
%setup -q -n Data-Alias-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} ';'
+%{_fixperms} %{buildroot}
%check
make test
%files
%doc README Changes
-%{perl_vendorarch}/auto/*
-%{perl_vendorarch}/Data*
-%{_mandir}/man3/*
+%{perl_vendorarch}/auto/Data/
+%{perl_vendorarch}/Data/
+%{_mandir}/man3/Data::Alias.3pm*
%changelog
+* Wed Apr 25 2012 Paul Howarth <paul at city-fan.org> - 1.16-1
+- Update to 1.16
+ - Use supported API to put destructor calls on the save stack (the
+ unsupported way used before was wrong for 64-bit systems on perl 5.13.1
+ and later)
+ - Document the behaviour of "alias return" in more detail
+ - Convert .cvsignore to .gitignore
+- BR: perl(base), perl(Test::Pod) and perl(Test::Pod::Coverage)
+- Use search.cpan.org source URL
+- Don't use macros for commands
+- Don't need to remove empty directories from buildroot
+- Make %%files list more explicit
+- Use tabs
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.15-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
@@ -62,17 +77,17 @@ make test
- Perl mass rebuild
* Fri Jun 24 2011 Marcela Mašláňová <mmaslano at redhat.com> - 1.15-1
-- update to 1.15, which fixes issues with systemtap
+- Update to 1.15, which fixes issues with systemtap
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano at redhat.com> - 1.12-2
- Perl mass rebuild
-* Thu Apr 14 2011 Marcela Mašláňová <mmaslano at redhat.com> 1.12-1
-- Specfile autogenerated by cpanspec 1.79 for new release. This package
- was resurected for 5.12.x
+* Thu Apr 14 2011 Marcela Mašláňová <mmaslano at redhat.com> - 1.12-1
+- Specfile autogenerated by cpanspec 1.79 for new release; this package was
+ resurrected for 5.12.x
* Mon Dec 7 2009 Stepan Kasal <skasal at redhat.com> - 1.07-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> - 1.07-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
@@ -81,44 +96,44 @@ make test
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 1.07-3
-Rebuild for new perl
+- Rebuild for new perl
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 1.07-2
- Autorebuild for GCC 4.3
-* Mon Nov 05 2007 Chris Weyl <cweyl at alumni.drew.edu> 1.07-1
-- update to 1.07
+* Mon Nov 05 2007 Chris Weyl <cweyl at alumni.drew.edu> - 1.07-1
+- Update to 1.07
-* Tue Aug 21 2007 Chris Weyl <cweyl at alumni.drew.edu> 1.06-2
-- bump
+* Tue Aug 21 2007 Chris Weyl <cweyl at alumni.drew.edu> - 1.06-2
+- Bump
-* Fri Aug 10 2007 Chris Weyl <cweyl at alumni.drew.edu> 1.06-1
-- update to 1.06
-- license tag: GPL -> GPL+
+* Fri Aug 10 2007 Chris Weyl <cweyl at alumni.drew.edu> - 1.06-1
+- Update to 1.06
+- License tag: GPL -> GPL+
-* Fri Jun 01 2007 Chris Weyl <cweyl at alumni.drew.edu> 1.05-1
-- update to 1.05
+* Fri Jun 01 2007 Chris Weyl <cweyl at alumni.drew.edu> - 1.05-1
+- Update to 1.05
-* Fri May 04 2007 Chris Weyl <cweyl at alumni.drew.edu> 1.04-1
-- update to 1.04
-- add t/ to %%doc
-- perl splittage BR's added
+* Fri May 04 2007 Chris Weyl <cweyl at alumni.drew.edu> - 1.04-1
+- Update to 1.04
+- Add t/ to %%doc
+- Perl splittage BR's added
-* Mon Mar 19 2007 Chris Weyl <cweyl at alumni.drew.edu> 1.03-1
-- update to 1.03
+* Mon Mar 19 2007 Chris Weyl <cweyl at alumni.drew.edu> - 1.03-1
+- Update to 1.03
-* Mon Feb 19 2007 Chris Weyl <cweyl at alumni.drew.edu> 1.02-1
-- update to 1.02
+* Mon Feb 19 2007 Chris Weyl <cweyl at alumni.drew.edu> - 1.02-1
+- Update to 1.02
-* Tue Oct 03 2006 Chris Weyl <cweyl at alumni.drew.edu> 1.01-1
-- update to 1.01
+* Tue Oct 03 2006 Chris Weyl <cweyl at alumni.drew.edu> - 1.01-1
+- Update to 1.01
-* Thu Aug 31 2006 Chris Weyl <cweyl at alumni.drew.edu> 1.0-3
-- bump for mass rebuild
+* Thu Aug 31 2006 Chris Weyl <cweyl at alumni.drew.edu> - 1.0-3
+- Bump for mass rebuild
-* Thu Aug 17 2006 Chris Weyl <cweyl at alumni.drew.edu> 1.0-2
-- bump for build & release
+* Thu Aug 17 2006 Chris Weyl <cweyl at alumni.drew.edu> - 1.0-2
+- Bump for build & release
-* Wed Aug 16 2006 Chris Weyl <cweyl at alumni.drew.edu> 1.0-1
-- Specfile autogenerated by cpanspec 1.68.
+* Wed Aug 16 2006 Chris Weyl <cweyl at alumni.drew.edu> - 1.0-1
+- Specfile autogenerated by cpanspec 1.68
- Initial spec file for F-E
diff --git a/sources b/sources
index 1cab580..8a9bf91 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e45836c1dd9446f71f437dfaa2d34b66 Data-Alias-1.15.tar.gz
+f53a4f654d57671fe0bd2cdcd6974e41 Data-Alias-1.16.tar.gz
More information about the scm-commits
mailing list