rpms/perl-libxml-perl/devel .cvsignore, 1.2, 1.3 perl-libxml-perl.spec, 1.7, 1.8 sources, 1.2, 1.3

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Sat Apr 2 22:43:58 UTC 2005


Update of /cvs/dist/rpms/perl-libxml-perl/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv21623

Modified Files:
	.cvsignore perl-libxml-perl.spec sources 
Log Message:
- Update to 0.08.
- spec cleanup (#153199)



Index: .cvsignore
===================================================================
RCS file: /cvs/dist/rpms/perl-libxml-perl/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	9 Sep 2004 10:25:09 -0000	1.2
+++ .cvsignore	2 Apr 2005 22:43:56 -0000	1.3
@@ -1 +1 @@
-libxml-perl-0.07.tar.bz2
+libxml-perl-0.08.tar.gz


Index: perl-libxml-perl.spec
===================================================================
RCS file: /cvs/dist/rpms/perl-libxml-perl/devel/perl-libxml-perl.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- perl-libxml-perl.spec	31 Mar 2005 09:28:23 -0000	1.7
+++ perl-libxml-perl.spec	2 Apr 2005 22:43:56 -0000	1.8
@@ -1,18 +1,18 @@
-%define _use_internal_dependency_generator 0
-
-%define module	libxml-perl
-Summary: A collection of Perl modules for working with XML.
-Name: perl-%{module}
-Version: 0.07
-Release: 31
-License: distributable
-Group: System Environment/Libraries
-Source0: %{module}-%{version}.tar.bz2
-Url: http://www.cpan.org
-BuildRoot: %{_tmppath}/%{name}-buildroot/
-Requires: perl >= 5.6.0, perl-XML-Parser
-BuildRequires: perl-XML-Parser
-BuildArch: noarch
+Name:           perl-libxml-perl
+Version:        0.08
+Release:        1
+Summary:        A collection of Perl modules for working with XML
+
+Group:          Development/Libraries
+License:        GPL or Artistic
+URL:            http://search.cpan.org/dist/libxml-perl/
+Source0:        http://www.cpan.org/authors/id/K/KM/KMACLEOD/libxml-perl-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:      noarch
+BuildRequires:  perl >= 1:5.6.1
+BuildRequires:  perl(XML::Parser)
+Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
 libxml-perl is a collection of smaller Perl modules, scripts, and
@@ -22,37 +22,38 @@
 
 
 %prep
-%setup -q -n %{module}-%{version}
+%setup -q -n libxml-perl-%{version}
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor
-make
-make test || /bin/true
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
-%clean 
+%install
 rm -rf $RPM_BUILD_ROOT
+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 d -depth -exec rmdir {} 2>/dev/null ';'
+chmod -R u+w $RPM_BUILD_ROOT/*
 
-%install
+%check || :
+make test
+
+%clean 
 rm -rf $RPM_BUILD_ROOT
-make install
 
-find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
 
-find $RPM_BUILD_ROOT/usr -type f -print | 
-        sed "s@^$RPM_BUILD_ROOT@@g" | 
-        grep -v perllocal.pod | 
-        grep -v "\.packlist" > perl-libxml-perl-%{version}-filelist
-if [ "$(cat perl-libxml-perl-%{version}-filelist)X" = "X" ] ; then
-    echo "ERROR: EMPTY FILE LIST"
-    exit -1
-fi
+%files
+%defattr(-,root,root,-)
+%doc ChangeLog Changes README
+%{perl_vendorlib}/Data/
+%{perl_vendorlib}/XML/
+%{_mandir}/man3/*.3*
 
-%files -f perl-libxml-perl-%{version}-filelist
-%defattr(-,root,root)
 
 %changelog
-* Wed Mar 30 2005 Warren Togami <wtogami at redhat.com>
-- remove brp-compress
+* Sat Apr 02 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.08-1
+- Update to 0.08.
+- spec cleanup (#153199)
 
 * Wed Sep 22 2004 Chip Turner <cturner at redhat.com> 0.07-30
 - rebuild


Index: sources
===================================================================
RCS file: /cvs/dist/rpms/perl-libxml-perl/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	9 Sep 2004 10:25:09 -0000	1.2
+++ sources	2 Apr 2005 22:43:56 -0000	1.3
@@ -1 +1 @@
-e05fcb1eff6e0a6ab88fddbea6055e68  libxml-perl-0.07.tar.bz2
+0ed5fbdda53d1301ddaed88db10503bb  libxml-perl-0.08.tar.gz




More information about the fedora-cvs-commits mailing list