]> git.pld-linux.org Git - packages/perl-XML-LibXML.git/blobdiff - perl-XML-LibXML.spec
- BR: perl-XML-LibXML-Common
[packages/perl-XML-LibXML.git] / perl-XML-LibXML.spec
index 3a9c35a25ea45284f311918247d22b4fe1c562fd..3ee62c3792107bac604bf09897b6f2f7119857f9 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-# _with_tests - perform "make test" (needs working, not busy /dev/audio!)
+# _with_tests - perform "make test"
 #
 %include       /usr/lib/rpm/macros.perl
 %define                pdir    XML
@@ -24,18 +24,19 @@ Summary(uk):        
 Summary(zh_CN):        XML::LibXML Perl Ä£¿é
 Name:          perl-%{pdir}-%{pnam}
 Version:       1.53
-Release:       1
+Release:       2
 License:       GPL
 Group:         Development/Languages/Perl
 Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 Patch0:                %{name}-Makefile.patch
 BuildRequires: libxml2-devel >= 2.4.8
+BuildRequires: perl-XML-LibXML-Common
 BuildRequires: perl-XML-NamespaceSupport >= 1.07
 BuildRequires: perl-XML-SAX >= 0.11
 BuildRequires: perl-devel >= 5.6.1
 BuildRequires: rpm-perlprov >= 4.0.2-56
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Requires:      libxml2 >= 2.4.8
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 This module implements much of the DOM Level 2 API as an interface to
@@ -75,6 +76,7 @@ wiele pracy, aby umo
 perl Makefile.PL
 %{__make} OPTIMIZE="%{rpmcflags}"
 
+# dtd test fails for unknown reason
 %{?_with_tests:%{__make} test}
 
 %install
@@ -91,6 +93,8 @@ install example/complex/{*.xml,*.dtd} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{v
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/complex/dtd
 install example/complex/dtd/*.dtd $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/complex/dtd
 
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 %post SAX
 perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX::Parser))->save_parsers()"
@@ -98,16 +102,11 @@ perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX::Parser))->save_pars
 %preun SAX
 perl -MXML::SAX -e "XML::SAX->remove_parser(q(XML::LibXML::SAX::Parser))->save_parsers()"
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(644,root,root,755)
 %doc Changes README
 %{perl_sitearch}/XML/LibXML.pm
-%dir %{perl_sitearch}/XML/LibXML
 %{perl_sitearch}/XML/LibXML/[^S]*.pm
-%dir %{perl_sitearch}/auto/XML/LibXML
 %{perl_sitearch}/auto/XML/LibXML/LibXML.bs
 %attr(755,root,root) %{perl_sitearch}/auto/XML/LibXML/LibXML.so
 %{_mandir}/man3/XML::LibXML.3pm.gz
This page took 0.026843 seconds and 4 git commands to generate.