update to 1.74
This commit is contained in:
parent
c6ef59074e
commit
b5e5297791
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
XML-LibXML-1.70.tar.gz
|
XML-LibXML-1.70.tar.gz
|
||||||
|
/XML-LibXML-1.74.tar.gz
|
||||||
|
@ -1,22 +1,19 @@
|
|||||||
Name: perl-XML-LibXML
|
Name: perl-XML-LibXML
|
||||||
# NOTE: also update perl-XML-LibXSLT to a compatible version, see
|
# NOTE: also update perl-XML-LibXSLT to a compatible version, see
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=469480
|
# https://bugzilla.redhat.com/show_bug.cgi?id=469480
|
||||||
Version: 1.70
|
# it might not be needed anymore
|
||||||
Release: 7%{?dist}
|
# this module is maintained, the other is not
|
||||||
# Epoch set when version went from 1.62001 to 1.65
|
Version: 1.74
|
||||||
|
Release: 1%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: Perl interface to the libxml2 library
|
Summary: Perl interface to the libxml2 library
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: http://search.cpan.org/dist/XML-LibXML/
|
URL: http://search.cpan.org/dist/XML-LibXML/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
||||||
|
|
||||||
Requires: %(perl -MConfig -le 'if (defined $Config{useithreads}) { print "perl(:WITH_ITHREADS)" } else { print "perl(:WITHOUT_ITHREADS)" }')
|
|
||||||
Requires: %(perl -MConfig -le 'if (defined $Config{usethreads}) { print "perl(:WITH_THREADS)" } else { print "perl(:WITHOUT_THREADS)" }')
|
|
||||||
Requires: %(perl -MConfig -le 'if (defined $Config{uselargefiles}) { print "perl(:WITH_LARGEFILES)" } else { print "perl(:WITHOUT_LARGEFILES)" }')
|
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
Source0: http://www.cpan.org/authors/id/P/PA/PAJAS/XML-LibXML-%{version}.tar.gz
|
Source0: http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-LibXML-%{version}.tar.gz
|
||||||
BuildRequires: perl(XML::NamespaceSupport)
|
BuildRequires: perl(XML::NamespaceSupport)
|
||||||
BuildRequires: perl(XML::SAX)
|
BuildRequires: perl(XML::SAX)
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More)
|
BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More)
|
||||||
@ -24,7 +21,6 @@ BuildRequires: libxml2-devel
|
|||||||
Provides: perl-XML-LibXML-Common = %{version}
|
Provides: perl-XML-LibXML-Common = %{version}
|
||||||
Obsoletes: perl-XML-LibXML-Common <= 0.13
|
Obsoletes: perl-XML-LibXML-Common <= 0.13
|
||||||
|
|
||||||
# Don't "provide" private Perl libs
|
|
||||||
%{?perl_default_filter}
|
%{?perl_default_filter}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -45,7 +41,6 @@ done
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
make pure_install DESTDIR=$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 -type f -name .packlist -exec rm -f {} ';'
|
||||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
|
||||||
@ -55,9 +50,6 @@ chmod -R u+w $RPM_BUILD_ROOT/*
|
|||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%triggerin -- perl-XML-SAX
|
%triggerin -- perl-XML-SAX
|
||||||
for p in XML::LibXML::SAX::Parser XML::LibXML::SAX ; do
|
for p in XML::LibXML::SAX::Parser XML::LibXML::SAX ; do
|
||||||
perl -MXML::SAX -e "XML::SAX->add_parser(q($p))->save_parsers()" \
|
perl -MXML::SAX -e "XML::SAX->add_parser(q($p))->save_parsers()" \
|
||||||
@ -73,13 +65,15 @@ if [ $1 -eq 0 ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc Changes LICENSE README
|
%doc Changes LICENSE README
|
||||||
%{perl_vendorarch}/auto/XML
|
%{perl_vendorarch}/auto/XML
|
||||||
%{perl_vendorarch}/XML
|
%{perl_vendorarch}/XML
|
||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:1.74-1
|
||||||
|
- update to 1.74
|
||||||
|
|
||||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.70-7
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.70-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user