[perl-Crypt-DES] Update to 2.07
Paul Howarth
pghmcfc at fedoraproject.org
Thu Oct 3 10:44:50 UTC 2013
commit a5733ff9424d2869eec4714347c80ae0ff0d6655
Author: Paul Howarth <paul at city-fan.org>
Date: Thu Oct 3 11:43:53 2013 +0100
Update to 2.07
- New upstream release 2.07
- SvUPGRADE was changed to a statement
- This release by DPARIS -> update source URL
- Changes file dropped upstream
- Drop %defattr, redundant since rpm 4.4
- Make %files list more explicit
- Don't need to remove empty directories from the buildroot
- Use DESTDIR rather than PERL_INSTALL_ROOT
- Don't use macros for commands
.gitignore | 3 +--
perl-Crypt-DES.spec | 45 +++++++++++++++++++++++++--------------------
sources | 2 +-
3 files changed, 27 insertions(+), 23 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c50e154..bbec113 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-Crypt-DES-2.05.tar.gz
-/Crypt-DES-2.05_002.tar.gz
+/Crypt-DES-[0-9.]*.tar.gz
diff --git a/perl-Crypt-DES.spec b/perl-Crypt-DES.spec
index 78ecbe6..99ce45a 100644
--- a/perl-Crypt-DES.spec
+++ b/perl-Crypt-DES.spec
@@ -1,13 +1,12 @@
-%global cpan_version 2.05_002
Name: perl-Crypt-DES
-Version: %(echo '%{cpan_version}' | tr _ .)
-Release: 2%{?dist}
+Version: 2.07
+Release: 1%{?dist}
Summary: Perl DES encryption module
License: BSD
Group: Development/Libraries
URL: http://search.cpan.org/dist/Crypt-DES/
-Source0: http://www.cpan.org/authors/id/D/DA/DAVIDO/Crypt-DES-%{cpan_version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0: http://www.cpan.org/authors/id/D/DP/DPARIS/Crypt-DES-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
# Run-time:
@@ -21,7 +20,7 @@ BuildRequires: perl(Benchmark)
BuildRequires: perl(Data::Dumper)
# Optional tests:
BuildRequires: perl(Crypt::CBC) > 1.22
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%{?perl_default_filter}
@@ -29,22 +28,18 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi
DES encryption module.
%prep
-%setup -q -n Crypt-DES-%{cpan_version}
+%setup -q -n Crypt-DES-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
+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/*
+%{_fixperms} $RPM_BUILD_ROOT
%check
make test
@@ -53,13 +48,23 @@ make test
rm -rf $RPM_BUILD_ROOT
%files
-%defattr(-,root,root,-)
-%doc Changes COPYRIGHT README
-%{perl_vendorarch}/auto/*
-%{perl_vendorarch}/Crypt*
-%{_mandir}/man3/*
+%doc COPYRIGHT README
+%{perl_vendorarch}/auto/Crypt/
+%{perl_vendorarch}/Crypt/
+%{_mandir}/man3/Crypt::DES.3pm*
%changelog
+* Thu Oct 3 2013 Paul Howarth <paul at city-fan.org> - 2.07-1
+- Update to 2.07
+ - SvUPGRADE was changed to a statement
+- This release by DPARIS -> update source URL
+- Changes file dropped upstream
+- Drop %%defattr, redundant since rpm 4.4
+- Make %%files list more explicit
+- Don't need to remove empty directories from the buildroot
+- Use DESTDIR rather than PERL_INSTALL_ROOT
+- Don't use macros for commands
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.05.002-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
@@ -92,7 +97,7 @@ rm -rf $RPM_BUILD_ROOT
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Dec 15 2010 Marcela Maslanova <mmaslano at redhat.com> - 2.05-12
-- 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> - 2.05-11
- Mass rebuild with perl-5.12.0
diff --git a/sources b/sources
index 65e00d2..9b98256 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e9a55f450730593b7165c58ec3acdbc2 Crypt-DES-2.05_002.tar.gz
+e845d24cf383ca4a30a3380a2735feac Crypt-DES-2.07.tar.gz
More information about the perl-devel
mailing list