1.92 bump
This commit is contained in:
parent
43e4628c68
commit
f3cb99358e
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ XML-LibXML-1.70.tar.gz
|
|||||||
/XML-LibXML-1.74.tar.gz
|
/XML-LibXML-1.74.tar.gz
|
||||||
/XML-LibXML-1.88.tar.gz
|
/XML-LibXML-1.88.tar.gz
|
||||||
/XML-LibXML-1.90.tar.gz
|
/XML-LibXML-1.90.tar.gz
|
||||||
|
/XML-LibXML-1.92.tar.gz
|
||||||
|
@ -3,7 +3,7 @@ Name: perl-XML-LibXML
|
|||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=469480
|
# https://bugzilla.redhat.com/show_bug.cgi?id=469480
|
||||||
# it might not be needed anymore
|
# it might not be needed anymore
|
||||||
# this module is maintained, the other is not
|
# this module is maintained, the other is not
|
||||||
Version: 1.90
|
Version: 1.92
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: Perl interface to the libxml2 library
|
Summary: Perl interface to the libxml2 library
|
||||||
@ -11,13 +11,40 @@ 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/
|
||||||
|
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/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::SAX)
|
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More)
|
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(File::Spec)
|
||||||
|
# Run-time
|
||||||
|
BuildRequires: perl(base)
|
||||||
|
BuildRequires: perl(Carp)
|
||||||
|
BuildRequires: perl(constant)
|
||||||
|
BuildRequires: perl(Data::Dumper)
|
||||||
|
BuildRequires: perl(DynaLoader)
|
||||||
|
BuildRequires: perl(Encode)
|
||||||
|
BuildRequires: perl(Exporter)
|
||||||
|
BuildRequires: perl(IO::File)
|
||||||
|
BuildRequires: perl(IO::Handle)
|
||||||
|
BuildRequires: perl(Scalar::Util)
|
||||||
|
BuildRequires: perl(Tie::Hash)
|
||||||
|
BuildRequires: perl(XML::NamespaceSupport)
|
||||||
|
BuildRequires: perl(XML::SAX::Base)
|
||||||
|
BuildRequires: perl(XML::SAX::DocumentLocator)
|
||||||
|
BuildRequires: perl(XML::SAX::Exception)
|
||||||
|
# Tests
|
||||||
|
# Optional Test::Differences has a fall-back
|
||||||
|
BuildRequires: perl(Errno)
|
||||||
|
BuildRequires: perl(lib)
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
BuildRequires: perl(XML::SAX)
|
||||||
|
# Optional tests
|
||||||
|
BuildRequires: perl(Test::Pod) >= 1.14
|
||||||
|
BuildRequires: perl(threads)
|
||||||
|
BuildRequires: perl(threads::shared)
|
||||||
|
BuildRequires: perl(URI::file)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
# threads and threads::shared are optional
|
||||||
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
|
||||||
|
|
||||||
@ -31,7 +58,7 @@ validating XML parser and the high performance DOM implementation.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n XML-LibXML-%{version}
|
%setup -q -n XML-LibXML-%{version}
|
||||||
|
chmod -x *.c
|
||||||
for i in Changes; do
|
for i in Changes; do
|
||||||
/usr/bin/iconv -f iso8859-1 -t utf-8 $i > $i.conv && /bin/mv -f $i.conv $i
|
/usr/bin/iconv -f iso8859-1 -t utf-8 $i > $i.conv && /bin/mv -f $i.conv $i
|
||||||
done
|
done
|
||||||
@ -52,7 +79,7 @@ chmod -R u+w $RPM_BUILD_ROOT/*
|
|||||||
# see rhbz#769537
|
# see rhbz#769537
|
||||||
rm t/12html.t
|
rm t/12html.t
|
||||||
%endif
|
%endif
|
||||||
make test
|
THREAD_TEST=1 make test
|
||||||
|
|
||||||
%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
|
||||||
@ -69,12 +96,17 @@ if [ $1 -eq 0 ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc Changes LICENSE README
|
%doc Changes HACKING.txt LICENSE README TODO
|
||||||
%{perl_vendorarch}/auto/XML
|
%{perl_vendorarch}/auto/XML
|
||||||
%{perl_vendorarch}/XML
|
%{perl_vendorarch}/XML
|
||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 23 2012 Petr Pisar <ppisar@redhat.com> - 1:1.92-1
|
||||||
|
- 1.92 bump
|
||||||
|
- Declare all dependencies
|
||||||
|
- Enable thread tests
|
||||||
|
|
||||||
* Wed Jan 10 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1:1.90-1
|
* Wed Jan 10 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1:1.90-1
|
||||||
- update to 1.90
|
- update to 1.90
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user