[perl-XML-Entities/el6/master] update to 1.0000 and clean spec

Remi Collet remi at fedoraproject.org
Mon Aug 30 17:11:24 UTC 2010


commit fc9d63408550a0c3b417ed71b2c85294b7ca51a5
Author: remi <fedora at famillecollet.com>
Date:   Mon Aug 30 18:58:16 2010 +0200

    update to 1.0000 and clean spec

 .gitignore             |    3 +--
 perl-XML-Entities.spec |   32 ++++++++++++--------------------
 2 files changed, 13 insertions(+), 22 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8d08962..441c6de 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-XML-Entities-0.0307.tar.gz
-/XML-Entities-1.0000.tar.gz
+XML-Entities-1.0000.tar.gz
diff --git a/perl-XML-Entities.spec b/perl-XML-Entities.spec
index ec99185..7eef4a3 100644
--- a/perl-XML-Entities.spec
+++ b/perl-XML-Entities.spec
@@ -1,8 +1,8 @@
-%define perlname XML-Entities
+%global perlname XML-Entities
 
 Name:      perl-XML-Entities
-Version:   0.03
-Release:   3%{?dist}
+Version:   1.0000
+Release:   1%{?dist}
 Summary:   Decode strings with XML entities
 
 Group:     Development/Libraries
@@ -10,17 +10,15 @@ License:   GPL+ or Artistic
 URL:       http://search.cpan.org/dist/XML-Entities/
 Source:    http://search.cpan.org/CPAN/authors/id/S/SI/SIXTEASE/%{perlname}-%{version}.tar.gz
 
-# wget -r -nH -l 1 --cut-dirs=2 -nv http://www.w3.org/2003/entities/iso9573-2003doc/overview.html
-# tar czf perl-XML-Entities-iso9573-2003.tgz iso9573-2003doc/overview.html iso9573-2003/*ent
-Source1:   %{name}-iso9573-2003.tgz 
-
 BuildArch: noarch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 BuildRequires: perl(ExtUtils::MakeMaker)
 BuildRequires: perl(HTML::Parser) perl(LWP::Simple) perl(Test::More)
+
 Requires:      perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 
 %description
 This module provides a mapping from the standard XML entities to their Unicode
@@ -31,16 +29,10 @@ from a DTD file with entity definitions.
 %prep
 %setup -q -n %{perlname}
 
-tar xzf %{SOURCE1}
-
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 
-# Use file provided rather than download it.
-sed -i -e "s;bin/download-entities.pl lib/XML/Entities/Data.pm;bin/download-entities.pl file://$PWD/iso9573-2003doc/overview.html lib/XML/Entities/Data.pm;" \
-    Makefile
-
 make %{?_smp_mflags}
 
 
@@ -49,7 +41,7 @@ rm -rf %{buildroot}
 make pure_install PERL_INSTALL_ROOT=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -print
 find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' -print
-chmod -R u+rwX,go+rX,go-w %{buildroot}/*
+%{_fixperms} $RPM_BUILD_ROOT/*
 
 
 %clean
@@ -64,16 +56,16 @@ make test
 %defattr(-, root, root, -)
 %doc Changes README
 %{_mandir}/man3/XML*
+%{_mandir}/man3/download-entities.*
+%{_mandir}/man1/download-entities.*
 %{_bindir}/download-entities.pl
 %{perl_vendorlib}/XML
 
 
 %changelog
-* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.03-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
-
-* Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.03-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+* Mon Aug 30 2010 Remi Collet <Fedora at famillecollet.com> 1.0000-1
+- update to 1.000 
+- remove Source1 as Entities are now shipped with the module itself
 
 * Thu Apr 10 2008 Remi Collet <Fedora at famillecollet.com> 0.03-1
 - update to 0.03


More information about the scm-commits mailing list