[perl-XML-RSS-LibXML] Update to 0.3105
Emmanuel Seyman
eseyman at fedoraproject.org
Mon Nov 10 12:45:36 UTC 2014
commit 7c20e57898fe5d533e4265b168d7e493909fb228
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date: Mon Nov 10 13:45:09 2014 +0100
Update to 0.3105
Clean up spec file
.gitignore | 1 +
perl-XML-RSS-LibXML.spec | 31 +++++++++++++++++--------------
sources | 2 +-
3 files changed, 19 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 61fd395..7faf4c4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
XML-RSS-LibXML-0.3100.tar.gz
/XML-RSS-LibXML-0.3101.tar.gz
/XML-RSS-LibXML-0.3102.tar.gz
+/XML-RSS-LibXML-0.3105.tar.gz
diff --git a/perl-XML-RSS-LibXML.spec b/perl-XML-RSS-LibXML.spec
index 8d1cd6f..21d93dd 100644
--- a/perl-XML-RSS-LibXML.spec
+++ b/perl-XML-RSS-LibXML.spec
@@ -1,9 +1,9 @@
Name: perl-XML-RSS-LibXML
-Version: 0.3102
-Release: 9%{?dist}
+Version: 0.3105
+Release: 1%{?dist}
Summary: XML::RSS with XML::LibXML
License: GPL+ or Artistic
-Group: Development/Libraries
+
URL: http://search.cpan.org/dist/XML-RSS-LibXML/
Source0: http://www.cpan.org/authors/id/D/DM/DMAKI/XML-RSS-LibXML-%{version}.tar.gz
BuildArch: noarch
@@ -11,6 +11,7 @@ BuildRequires: perl(Class::Accessor::Fast)
BuildRequires: perl(DateTime::Format::Mail)
BuildRequires: perl(DateTime::Format::W3CDTF)
BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Module::Build)
BuildRequires: perl(Test::Differences)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::Pod)
@@ -30,29 +31,31 @@ with XML::RSS.
%prep
%setup -q -n XML-RSS-LibXML-%{version}
-sed -i -e '/^auto_install/d' Makefile.PL
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%{__perl} Build.PL installdirs=vendor
+./Build
%install
-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 \;
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
%{_fixperms} $RPM_BUILD_ROOT/*
%check
-TEST_POD=yep make test
+TEST_POD=yep ./Build test
%files
-%doc Changes
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%doc Changes README.md
+%license LICENSE
+%{perl_vendorlib}/XML*
+%{_mandir}/man3/XML*
%changelog
+* Mon Nov 10 2014 Emmanuel Seyman <emmanuel at seyman.fr> - 0.3105-1
+- Update to 0.3105
+- Use Module::Build as build-system
+- Use the %%license tag
+
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.3102-9
- Perl 5.20 rebuild
diff --git a/sources b/sources
index 2e78087..7fe72c0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9fbc00ce70c200a22dd6438e8679d174 XML-RSS-LibXML-0.3102.tar.gz
+6cfbf403134313bfb8459d827c2dc591 XML-RSS-LibXML-0.3105.tar.gz
More information about the scm-commits
mailing list