[perl-MARC-Record] Update to 2.0.3
Dan Scott
dscott at fedoraproject.org
Thu Jun 14 16:12:29 UTC 2012
commit 8f5208ba2bce57acbffcbe2f80582bb90d1084a9
Author: Dan Scott <dan at coffeecode.net>
Date: Thu Jun 14 12:09:45 2012 -0400
Update to 2.0.3
- To match current packaging guidelines, remove clean section and
BuildRoot.
- Install to DESTDIR.
- Add BuildRequires.
Signed-off-by: Dan Scott <dan at coffeecode.net>
perl-MARC-Record.spec | 21 +++++++++++----------
1 files changed, 11 insertions(+), 10 deletions(-)
---
diff --git a/perl-MARC-Record.spec b/perl-MARC-Record.spec
index abafb32..6f994f4 100644
--- a/perl-MARC-Record.spec
+++ b/perl-MARC-Record.spec
@@ -1,13 +1,12 @@
Name: perl-MARC-Record
-Version: 2.0.0
-Release: 12%{?dist}
+Version: 2.0.3
+Release: 1%{?dist}
Summary: Object-oriented abstraction of MARC record handling
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/MARC-Record/
-Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MIKERY/MARC-Record-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0: http://search.cpan.org/CPAN/authors/id/G/GM/GMCHARLT/MARC-Record-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
@@ -15,7 +14,9 @@ BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(constant)
+BuildRequires: perl(Encode)
BuildRequires: perl(Exporter)
+BuildRequires: perl(Getopt::Long)
# Tests
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(File::Spec)
@@ -42,8 +43,7 @@ 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 -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
@@ -53,10 +53,6 @@ chmod -R u+w $RPM_BUILD_ROOT/*
make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
%files
%defattr(-,root,root,-)
%doc Changes README
@@ -67,6 +63,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Thu Jun 14 2012 Dan Scott <dan at coffeecode.net> - 2.0.3-1
+- Update to 2.0.3.
+- To match current packaging guidelines, remove clean section and BuildRoot.
+- Install to DESTDIR. Add explicit BuildRequires.
+
* Tue Jun 12 2012 Petr Pisar <ppisar at redhat.com> - 2.0.0-12
- Perl 5.16 rebuild
- Specify all dependencies
More information about the scm-commits
mailing list