[perl-Object-Signature] update to 1.07

Iain Arnell iarnell at fedoraproject.org
Sat Jan 14 13:00:56 UTC 2012


commit 6932a198db7e848a86cb567f0d3f8bdb1938c1ed
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sat Jan 14 14:00:49 2012 +0100

    update to 1.07

 .gitignore                 |    1 +
 perl-Object-Signature.spec |   20 ++++++++++----------
 sources                    |    2 +-
 3 files changed, 12 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7cab487..f6bd0b0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Object-Signature-1.05.tar.gz
+/Object-Signature-1.07.tar.gz
diff --git a/perl-Object-Signature.spec b/perl-Object-Signature.spec
index e9203e3..a6687d0 100644
--- a/perl-Object-Signature.spec
+++ b/perl-Object-Signature.spec
@@ -1,12 +1,11 @@
 Name:           perl-Object-Signature
-Version:        1.05
-Release:        12%{?dist}
+Version:        1.07
+Release:        1%{?dist}
 Summary:        Cryptographically strong objects 
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Object-Signature/
 Source0:        http://www.cpan.org/authors/id/A/AD/ADAMK/Object-Signature-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
@@ -15,6 +14,8 @@ BuildRequires:  perl(Digest::MD5)           >= 2.00
 BuildRequires:  perl(Storable)              >= 2.11
 BuildRequires:  perl(Test::More)
 
+%?perl_default_filter
+
 %description
 Object::Signature is an abstract base class that you can inherit from in
 order to allow your objects to generate unique cryptographic signatures.
@@ -29,9 +30,7 @@ find . -type f -exec chmod -x -c {} +
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
+make pure_install DESTDIR=%{buildroot}
 
 find %{buildroot} -type f -name .packlist -exec rm -f {} + 
 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
@@ -41,16 +40,17 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
 %doc Changes LICENSE README t/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Sat Jan 14 2012 Iain Arnell <iarnell at gmail.com> 1.07-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+- use perl_default_filter and DESTDIR
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.05-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index 3c9a604..237b6f9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b154a57c64ac06bd47b364c924bf3738  Object-Signature-1.05.tar.gz
+387fd336d07bd5e74669ec33515c28ef  Object-Signature-1.07.tar.gz



More information about the perl-devel mailing list