minor cleanup
This commit is contained in:
parent
fb76a22b48
commit
0230230fa4
@ -1,15 +1,17 @@
|
|||||||
Name: perl-XML-TokeParser
|
Name: perl-XML-TokeParser
|
||||||
Version: 0.05
|
Version: 0.05
|
||||||
Release: 18%{?dist}
|
Release: 19%{?dist}
|
||||||
Summary: Simplified interface to XML::Parser
|
Summary: Simplified interface to XML::Parser
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
|
||||||
URL: http://search.cpan.org/dist/XML-TokeParser/
|
URL: http://search.cpan.org/dist/XML-TokeParser/
|
||||||
Source0: http://www.cpan.org/authors/id/P/PO/PODMASTER/XML-TokeParser-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/P/PO/PODMASTER/XML-TokeParser-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: make
|
||||||
|
BuildRequires: perl
|
||||||
BuildRequires: perl(Carp)
|
BuildRequires: perl(Carp)
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||||
BuildRequires: perl(IO::File)
|
BuildRequires: perl(IO::File)
|
||||||
BuildRequires: perl(Test)
|
BuildRequires: perl(Test)
|
||||||
BuildRequires: perl(XML::Catalog)
|
BuildRequires: perl(XML::Catalog)
|
||||||
@ -19,6 +21,8 @@ Requires: perl(IO::File)
|
|||||||
Requires: perl(XML::Catalog)
|
Requires: perl(XML::Catalog)
|
||||||
Requires: perl(XML::Parser) >= 2
|
Requires: perl(XML::Parser) >= 2
|
||||||
|
|
||||||
|
%{?perl_default_filter}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
XML::TokeParser provides a procedural ("pull mode") interface to
|
XML::TokeParser provides a procedural ("pull mode") interface to
|
||||||
XML::Parser in much the same way that Gisle Aas' HTML::TokeParser provides
|
XML::Parser in much the same way that Gisle Aas' HTML::TokeParser provides
|
||||||
@ -31,32 +35,29 @@ find . -type f | xargs sed -i -e 's/\r//'
|
|||||||
find . -type f | xargs chmod 0644
|
find . -type f | xargs chmod 0644
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
make pure_install PERL_INSTALL_ROOT=$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 \;
|
|
||||||
|
|
||||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc Changes README TODO TokeParser.xml
|
%doc Changes README TODO TokeParser.xml
|
||||||
%{perl_vendorlib}/*
|
%{perl_vendorlib}/XML*
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/XML*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 19 2015 Emmanuel Seyman <emmanuel@seyman.fr> - 0.05-19
|
||||||
|
- Add more BuildRequires
|
||||||
|
- Add perl default filter
|
||||||
|
- Use NO_PACKLIST=1 when creating Makefile
|
||||||
|
- Remove no-longer-used declarations
|
||||||
|
- Tighten file listing
|
||||||
|
|
||||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-18
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-18
|
||||||
- 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