commit 6f1632ae73721994d241811e6fb8f1a29c7edf20
Author: Paul Howarth <paul(a)city-fan.org>
Date: Wed Jan 1 20:47:08 2014 +0000
Update to 1.5
- New upstream release 1.5 (document use of binmode)
- Drop %defattr, redundant since rpm 4.4
- No need to remove empty directories from the buildroot
- Use %{_fixperms} macro rather than our own chmod incantation
.gitignore | 3 +--
perl-String-CRC32.spec | 34 +++++++++++++++++++---------------
sources | 2 +-
3 files changed, 21 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 61e65d2..a800e64 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-String-CRC32-1.3.tar.gz
-String-CRC32-1.4.tar.gz
+/String-CRC32-[0-9.]*.tar.gz
diff --git a/perl-String-CRC32.spec b/perl-String-CRC32.spec
index 642e167..c7e4016 100644
--- a/perl-String-CRC32.spec
+++ b/perl-String-CRC32.spec
@@ -1,17 +1,17 @@
Name: perl-String-CRC32
-Version: 1.4
-Release: 20%{?dist}
+Version: 1.5
+Release: 1%{?dist}
Summary: Perl interface for cyclic redundancy check generation
Group: Development/Libraries
License: Public Domain
URL:
http://search.cpan.org/dist/String-CRC32/
Source0:
http://search.cpan.org/CPAN/authors/id/S/SO/SOENKE/String-CRC32-%{version...
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildRequires: perl(ExtUtils::MakeMaker)
# Run-time:
BuildRequires: perl(DynaLoader)
BuildRequires: perl(Exporter)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo
$version))
%{?perl_default_filter}
@@ -30,31 +30,35 @@ differ from those of the programs mentioned above.
%setup -q -n String-CRC32-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
+rm -rf %{buildroot}
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
+%{_fixperms} %{buildroot}
%check
make test
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%files
-%defattr(-,root,root,-)
%doc README
%{perl_vendorarch}/String/
%{perl_vendorarch}/auto/String/
-%{_mandir}/man3/*.3*
+%{_mandir}/man3/String::CRC32.3pm*
%changelog
+* Wed Jan 1 2014 Paul Howarth <paul(a)city-fan.org> - 1.5-1
+- Update to 1.5 (document use of binmode)
+- Drop %%defattr, redundant since rpm 4.4
+- No need to remove empty directories from the buildroot
+- Use %%{_fixperms} macro rather than our own chmod incantation
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.4-20
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
@@ -83,7 +87,7 @@ rm -rf $RPM_BUILD_ROOT
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Dec 22 2010 Marcela Maslanova <mmaslano(a)redhat.com> - 1.4-11
-- 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.4-10
- Mass rebuild with perl-5.12.0
diff --git a/sources b/sources
index d01d51a..5285cf6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9b241bc4a482a3aa59fbb1429bc30546 String-CRC32-1.4.tar.gz
+3a9516454722823bd7965d1128d53869 String-CRC32-1.5.tar.gz