2.21 bump
- Package the license text - Spec cleanup
This commit is contained in:
parent
c5c6bc5992
commit
200d4138ae
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
/XML-Simple-2.20.tar.gz
|
/XML-Simple-2.20.tar.gz
|
||||||
|
/XML-Simple-2.21.tar.gz
|
||||||
|
@ -1,36 +1,46 @@
|
|||||||
Name: perl-XML-Simple
|
Name: perl-XML-Simple
|
||||||
Version: 2.20
|
Version: 2.21
|
||||||
Release: 11%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Easy API to maintain XML in Perl
|
Summary: Easy API to maintain XML in Perl
|
||||||
Group: Development/Libraries
|
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: http://search.cpan.org/dist/XML-Simple/
|
URL: http://search.cpan.org/dist/XML-Simple/
|
||||||
Source0: http://www.cpan.org/authors/id/G/GR/GRANTM/XML-Simple-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/G/GR/GRANTM/XML-Simple-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
# Build
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||||
|
BuildRequires: perl(strict)
|
||||||
|
BuildRequires: perl(warnings)
|
||||||
|
# Runtime
|
||||||
BuildRequires: perl(Carp)
|
BuildRequires: perl(Carp)
|
||||||
BuildRequires: perl(Exporter)
|
BuildRequires: perl(Exporter)
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(File::Basename)
|
||||||
BuildRequires: perl(File::Spec)
|
|
||||||
BuildRequires: perl(IO::Handle)
|
BuildRequires: perl(IO::Handle)
|
||||||
BuildRequires: perl(Storable)
|
BuildRequires: perl(Storable)
|
||||||
#BuildRequires: perl(XML::LibXML)
|
BuildRequires: perl(utf8)
|
||||||
#BuildRequires: perl(XML::LibXML::Common)
|
BuildRequires: perl(vars)
|
||||||
BuildRequires: perl(XML::NamespaceSupport)
|
BuildRequires: perl(warnings::register)
|
||||||
|
BuildRequires: perl(XML::NamespaceSupport) >= 1.04
|
||||||
BuildRequires: perl(XML::Parser)
|
BuildRequires: perl(XML::Parser)
|
||||||
BuildRequires: perl(XML::SAX)
|
BuildRequires: perl(XML::SAX) >= 0.15
|
||||||
# Tests only
|
# Tests only
|
||||||
BuildRequires: perl(base)
|
BuildRequires: perl(base)
|
||||||
|
BuildRequires: perl(File::Spec)
|
||||||
|
BuildRequires: perl(FileHandle)
|
||||||
BuildRequires: perl(IO::File)
|
BuildRequires: perl(IO::File)
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More)
|
||||||
BuildRequires: perl(Tie::IxHash)
|
|
||||||
BuildRequires: perl(XML::SAX::Base)
|
BuildRequires: perl(XML::SAX::Base)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
# Optional tests only
|
||||||
|
BuildRequires: perl(Tie::IxHash)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
||||||
|
Requires: perl(File::Basename)
|
||||||
Requires: perl(File::Spec)
|
Requires: perl(File::Spec)
|
||||||
Requires: perl(IO::Handle)
|
Requires: perl(IO::Handle)
|
||||||
Requires: perl(Storable)
|
Requires: perl(Storable)
|
||||||
Requires: perl(XML::NamespaceSupport)
|
Requires: perl(XML::NamespaceSupport) >= 1.04
|
||||||
Requires: perl(XML::Parser)
|
Requires: perl(XML::Parser)
|
||||||
Requires: perl(XML::SAX)
|
Requires: perl(XML::SAX) >= 0.15
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The XML::Simple module provides a simple API layer on top of an
|
The XML::Simple module provides a simple API layer on top of an
|
||||||
@ -41,24 +51,28 @@ parser modules).
|
|||||||
%setup -q -n XML-Simple-%{version}
|
%setup -q -n XML-Simple-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
make pure_install DESTDIR=%{buildroot}
|
||||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
||||||
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
||||||
chmod -R u+w %{buildroot}/*
|
chmod -R u+w %{buildroot}/*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%license LICENSE
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
%{perl_vendorlib}/XML/
|
%{perl_vendorlib}/*
|
||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 04 2015 Petr Šabata <contyk@redhat.com> - 2.21-1
|
||||||
|
- 2.21 bump
|
||||||
|
- Package the license text
|
||||||
|
- Spec cleanup
|
||||||
|
|
||||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.20-11
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.20-11
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user