rpms/perl-XML-LibXML-Common/devel perl-XML-LibXML-Common.spec, 1.12, 1.13
Robin Norwood (rnorwood)
fedora-extras-commits at redhat.com
Thu Oct 25 20:33:29 UTC 2007
Author: rnorwood
Update of /cvs/pkgs/rpms/perl-XML-LibXML-Common/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32656
Modified Files:
perl-XML-LibXML-Common.spec
Log Message:
Various fixes from package review.
Index: perl-XML-LibXML-Common.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-XML-LibXML-Common/devel/perl-XML-LibXML-Common.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- perl-XML-LibXML-Common.spec 17 Oct 2007 04:47:13 -0000 1.12
+++ perl-XML-LibXML-Common.spec 25 Oct 2007 20:32:54 -0000 1.13
@@ -1,30 +1,36 @@
Name: perl-XML-LibXML-Common
Version: 0.13
-Release: 9
+Release: 10%{?dist}
Summary: XML-LibXML-Common Perl module
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/XML-LibXML-Common/
-Source0: http://www.cpan.org/authors/id/P/PH/PHISH/XML-LibXML-Common-0.13.tar.gz
+Source0: http://www.cpan.org/authors/id/P/PH/PHISH/XML-LibXML-Common-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: perl >= 2:5.8.0
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: libxml2-devel >= 2.4.20
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
%description
-%{summary}.
+XML::LibXML::Common contains several constants and functions that
+are shared by XML::LibXML, XML::GDOME and XML::LibXSLT (not all done, yet)
+
+This package is required at least for XML::LibXML 1.53 or later to
+work properly.
%prep
%setup -q -n XML-LibXML-Common-%{version}
+
%build
CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
+
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
@@ -33,9 +39,11 @@
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
-%check || :
+
+%check
make test
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -49,6 +57,15 @@
%changelog
+* Thu Oct 25 2007 Robin Norwood <rnorwood at redhat.com> - 0.13-10
+- Various fixes from package review:
+- Remove useless BR: perl
+- Use dist tag in release
+- Remove "|| :" from check section
+- Fix source URL
+- Remove tabs and clean up spacing
+- Also improve package description with text from the README
+
* Wed Oct 17 2007 Tom "spot" Callaway <tcallawa at redhat.com> - 0.13-9
- correct license tag
- add BR: perl(ExtUtils::MakeMaker)
More information about the fedora-extras-commits
mailing list