jplesnik pushed to perl-URI-Encode (master). "1.0.1 bump"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Aug 26 13:48:09 UTC 2015


From ba48b59d227d36af6f6be4cd730515944041bb78 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik at redhat.com>
Date: Wed, 26 Aug 2015 15:47:50 +0200
Subject: 1.0.1 bump


diff --git a/.gitignore b/.gitignore
index 8cb3874..a7bf866 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /URI-Encode-0.09.tar.gz
+/URI-Encode-v1.0.1.tar.gz
diff --git a/perl-URI-Encode.spec b/perl-URI-Encode.spec
index 60e276b..9c6a3fa 100644
--- a/perl-URI-Encode.spec
+++ b/perl-URI-Encode.spec
@@ -1,11 +1,13 @@
+%global cpan_version v1.0.1
+
 Name:           perl-URI-Encode
-Version:        0.09
-Release:        3%{?dist}
+Version:        %(echo '%{cpan_version}' | tr -d 'v')
+Release:        1%{?dist}
 Summary:        Percent encoding/decoding for URIs
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/URI-Encode/
-Source0:        http://www.cpan.org/modules/by-module/URI/URI-Encode-%{version}.tar.gz
+Source0:        http://www.cpan.org/modules/by-module/URI/URI-Encode-%{cpan_version}.tar.gz
 BuildArch:      noarch
 BuildRequires:  perl
 BuildRequires:  perl(base)
@@ -28,7 +30,7 @@ which can be pasted into a plain text emails, and that those links are
 encoding the reserved characters.
 
 %prep
-%setup -q -n URI-Encode-%{version}
+%setup -q -n URI-Encode-%{cpan_version}
 
 %build
 %{__perl} Build.PL installdirs=vendor
@@ -43,11 +45,15 @@ encoding the reserved characters.
 ./Build test
 
 %files
-%doc Changes LICENSE README
+%license LICENSE
+%doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Wed Aug 26 2015 Jitka Plesnikova <jplesnik at redhat.com> - 1.0.1-1
+- 1.0.1 bump
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.09-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
diff --git a/sources b/sources
index d1c6547..c98c88e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-369d5dd49215f3f591a1e5975609df27  URI-Encode-0.09.tar.gz
+2248e3dc1dec341247b16ddf9ead085e  URI-Encode-v1.0.1.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-URI-Encode.git/commit/?h=master&id=ba48b59d227d36af6f6be4cd730515944041bb78


More information about the perl-devel mailing list