[perl-WWW-Pastebin-PastebinCom-Create] update to 0.004

Iain Arnell iarnell at fedoraproject.org
Fri Jan 6 10:20:32 UTC 2012


commit 75df2f48f40211f97a9ff4e80aeff3222535c771
Author: Iain Arnell <iarnell at gmail.com>
Date:   Fri Jan 6 11:20:22 2012 +0100

    update to 0.004

 .gitignore                                |    1 +
 perl-WWW-Pastebin-PastebinCom-Create.spec |   15 ++++++---------
 sources                                   |    2 +-
 3 files changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 872b0b1..de6b8c6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 WWW-Pastebin-PastebinCom-Create-0.003.tar.gz
+/WWW-Pastebin-PastebinCom-Create-0.004.tar.gz
diff --git a/perl-WWW-Pastebin-PastebinCom-Create.spec b/perl-WWW-Pastebin-PastebinCom-Create.spec
index bf80836..c297506 100644
--- a/perl-WWW-Pastebin-PastebinCom-Create.spec
+++ b/perl-WWW-Pastebin-PastebinCom-Create.spec
@@ -1,12 +1,11 @@
 Name:           perl-WWW-Pastebin-PastebinCom-Create
-Version:        0.003
-Release:        5%{?dist}
+Version:        0.004
+Release:        1%{?dist}
 Summary:        Paste to http://pastebin.com from Perl
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/WWW-Pastebin-PastebinCom-Create/
 Source0:        http://www.cpan.org/authors/id/Z/ZO/ZOFFIX/WWW-Pastebin-PastebinCom-Create-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(LWP::UserAgent) >= 2.036
 BuildRequires:  perl(Module::Build)
@@ -31,8 +30,6 @@ pastebin site.
 ./Build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
@@ -41,16 +38,16 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 ./Build test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README examples
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Fri Jan 06 2012 Iain Arnell <iarnell at gmail.com> 0.004-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+
 * Tue Jul 19 2011 Petr Sabata <contyk at redhat.com> - 0.003-5
 - Perl mass rebuild
 
diff --git a/sources b/sources
index 18ee24b..87df803 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-feade397d4386d804eb2571c3983f19e  WWW-Pastebin-PastebinCom-Create-0.003.tar.gz
+13111f91ef422b1d85927c84278fe4dc  WWW-Pastebin-PastebinCom-Create-0.004.tar.gz


More information about the scm-commits mailing list