[perl-HTML-Template] Set module version to fake 2.91 to work around versioning issue (#734253). Fix source URL, drop no l

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit df4c9ff6665f6a28f0602d30231bccf5a154346d
Author: Ville Skyttä <ville.skytta@xxxxxx>
Date:   Tue Aug 30 21:07:06 2011 +0300

    Set module version to fake 2.91 to work around versioning issue (#734253).
    Fix source URL, drop no longer needed README linefeed conversion.

 perl-HTML-Template-2.10-versioning.patch |   12 ++++++++++++
 perl-HTML-Template.spec                  |   17 +++++++++++++----
 2 files changed, 25 insertions(+), 4 deletions(-)
---
diff --git a/perl-HTML-Template-2.10-versioning.patch b/perl-HTML-Template-2.10-versioning.patch
new file mode 100644
index 0000000..55abb1c
--- /dev/null
+++ b/perl-HTML-Template-2.10-versioning.patch
@@ -0,0 +1,12 @@
+diff -up HTML-Template-2.10/lib/HTML/Template.pm~ HTML-Template-2.10/lib/HTML/Template.pm
+--- HTML-Template-2.10/lib/HTML/Template.pm~	2011-08-30 20:44:01.075540073 +0300
++++ HTML-Template-2.10/lib/HTML/Template.pm	2011-08-30 20:45:10.256004737 +0300
+@@ -1,6 +1,7 @@
+ package HTML::Template;
+ 
+-$HTML::Template::VERSION = '2.10';
++# https://bugzilla.redhat.com/show_bug.cgi?id=734253
++$HTML::Template::VERSION = '2.91';
+ 
+ =head1 NAME
+ 
diff --git a/perl-HTML-Template.spec b/perl-HTML-Template.spec
index 84442c4..68edc9f 100644
--- a/perl-HTML-Template.spec
+++ b/perl-HTML-Template.spec
@@ -1,14 +1,19 @@
 Name:           perl-HTML-Template
 Version:        2.10
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Perl module to use HTML Templates
 
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/HTML-Template/
-Source0:        http://www.cpan.org/authors/id/S/SA/SAMTREGAR/HTML-Template-%{version}.tar.gz
+Source0:        http://www.cpan.org/authors/id/W/WO/WONKO/HTML-Template-%{version}.tar.gz
 Patch0:         perl-HTML-Template-manpages.patch
 
+# https://bugzilla.redhat.com/show_bug.cgi?id=734253
+Patch1:         perl-HTML-Template-2.10-versioning.patch
+%global         __provides_exclude ^perl\\(HTML::Template\\)\\s*=\\s*2\\.91$
+Provides:       perl(HTML::Template) = %{version}
+
 BuildArch:      noarch
 BuildRequires:  perl(CGI)
 BuildRequires:  perl(Test::More)
@@ -31,7 +36,7 @@ in the Perl script.
 %prep
 %setup -q -n HTML-Template-%{version}
 %patch0 -p1 -b .manpages
-%{__perl} -pi -e 's/\r//g' README
+%patch1 -p1 -b .versioning
 
 
 %build
@@ -57,6 +62,10 @@ TEST_SHARED_MEMORY=1 make test
 
 
 %changelog
+* Tue Aug 30 2011 Ville Skyttä <ville.skytta@xxxxxx> - 2.10-3
+- Set module version to fake 2.91 to work around versioning issue (#734253).
+- Fix source URL, drop no longer needed README linefeed conversion.
+
 * Mon Jul 18 2011 Petr Sabata <contyk@xxxxxxxxxx> - 2.10-2
 - Perl mass rebuild
 
@@ -125,5 +134,5 @@ TEST_SHARED_MEMORY=1 make test
 - Typo correction (rpmlint warning).
 - Build requirements: removed perl(CGI).
 
-* Fri Jun 25 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:2.7-0.fdr.1
+* Fri Jun 25 2004 Ville Skyttä <ville.skytta@xxxxxx> - 0:2.7-0.fdr.1
 - First build after 2nd time of losing the specfile somewhere :(
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux