rpms/perl-XML-LibXML-Common/devel perl-XML-LibXML-Common.spec, 1.5, 1.6
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Mon Apr 25 22:10:12 UTC 2005
- Previous message (by thread): rpms/SysVinit/devel sysvinit-2.85-chroot.patch, NONE, 1.1 sysvinit-2.85-fixscripts.patch, NONE, 1.1 SysVinit.spec, 1.25, 1.26 sysvinit-2.85-readlink.patch, 1.3, 1.4 sysvinit-selinux.patch, 1.9, 1.10
- Next message (by thread): rpms/kudzu/devel .cvsignore, 1.68, 1.69 kudzu.spec, 1.76, 1.77 sources, 1.74, 1.75
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: wtogami
Update of /cvs/dist/rpms/perl-XML-LibXML-Common/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv7561
Modified Files:
perl-XML-LibXML-Common.spec
Log Message:
- #155911
- Bring up to date with current Fedora.Extras perl spec templat
Index: perl-XML-LibXML-Common.spec
===================================================================
RCS file: /cvs/dist/rpms/perl-XML-LibXML-Common/devel/perl-XML-LibXML-Common.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- perl-XML-LibXML-Common.spec 31 Mar 2005 09:29:00 -0000 1.5
+++ perl-XML-LibXML-Common.spec 25 Apr 2005 22:10:02 -0000 1.6
@@ -1,59 +1,56 @@
-Summary: XML-LibXML-Common Perl module
-Name: perl-XML-LibXML-Common
-Version: 0.13
-Release: 8
-License: GPL or Artistic
-Group: Development/Libraries
-URL: http://search.cpan.org/dist/XML-LibXML-Common/
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-BuildRequires: perl >= 2:5.8.0
-BuildRequires: libxml2-devel
-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)" }')
-Source0: XML-LibXML-Common-0.13.tar.gz
+Name: perl-XML-LibXML-Common
+Version: 0.13
+Release: 8
+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
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: perl >= 2:5.8.0
+BuildRequires: libxml2-devel >= 2.4.20
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
%{summary}.
+
%prep
%setup -q -n XML-LibXML-Common-%{version}
%build
-CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT%{_prefix} INSTALLDIRS=vendor < /dev/null
-make OPTIMIZE="$RPM_OPT_FLAGS"
-make test
+CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
-eval `perl '-V:installarchlib'`
-mkdir -p $RPM_BUILD_ROOT$installarchlib
-%makeinstall
-rm -f `find $RPM_BUILD_ROOT -type f -name perllocal.pod -o -name .packlist`
-
-echo "build root"
-find $RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT%{_prefix} -type f -print | \
- sed "s@^$RPM_BUILD_ROOT@@g" > %{name}-%{version}-%{release}-filelist
-if [ "$(cat %{name}-%{version}-%{release}-filelist)X" = "X" ] ; then
- echo "ERROR: EMPTY FILE LIST"
- exit 1
-fi
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
+chmod -R u+w $RPM_BUILD_ROOT/*
-echo "build root2"
-find $RPM_BUILD_ROOT
+%check || :
+make test
%clean
rm -rf $RPM_BUILD_ROOT
-%files -f %{name}-%{version}-%{release}-filelist
+
+%files
%defattr(-,root,root,-)
%doc Changes LICENSE README
+%{perl_vendorarch}/XML/
+%{perl_vendorarch}/auto/XML/
+%{_mandir}/man3/*.3*
+
%changelog
-* Wed Mar 30 2005 Warren Togami <wtogami at redhat.com>
-- remove brp-compress
+* Mon Apr 25 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.13-8
+- #155911
+- Bring up to date with current Fedora.Extras perl spec template.
* Tue Jun 15 2004 Elliot Lee <sopwith at redhat.com>
- rebuilt
- Previous message (by thread): rpms/SysVinit/devel sysvinit-2.85-chroot.patch, NONE, 1.1 sysvinit-2.85-fixscripts.patch, NONE, 1.1 SysVinit.spec, 1.25, 1.26 sysvinit-2.85-readlink.patch, 1.3, 1.4 sysvinit-selinux.patch, 1.9, 1.10
- Next message (by thread): rpms/kudzu/devel .cvsignore, 1.68, 1.69 kudzu.spec, 1.76, 1.77 sources, 1.74, 1.75
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list