commit f15d45d8e0c30b85e1ceeca4edc5e4d8e40c4fed
Author: Iain Arnell <iarn...@gmail.com>
Date:   Fri Jun 21 09:14:48 2013 -0600

    update to 0.004

 .gitignore               |    1 +
 perl-Mixin-Linewise.spec |   21 +++++++++------------
 sources                  |    2 +-
 3 files changed, 11 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9cfbf47..e1cc0ba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Mixin-Linewise-0.003.tar.gz
+/Mixin-Linewise-0.004.tar.gz
diff --git a/perl-Mixin-Linewise.spec b/perl-Mixin-Linewise.spec
index 9cfe230..38a0f7e 100644
--- a/perl-Mixin-Linewise.spec
+++ b/perl-Mixin-Linewise.spec
@@ -1,12 +1,11 @@
 Name:           perl-Mixin-Linewise
-Version:        0.003
-Release:        10%{?dist}
+Version:        0.004
+Release:        1%{?dist}
 Summary:        Write your linewise code for handles; this does the rest
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Mixin-Linewise/
 Source0:        
http://www.cpan.org/authors/id/R/RJ/RJBS/Mixin-Linewise-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -41,25 +40,23 @@ perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-%{_fixperms} $RPM_BUILD_ROOT/*
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} %{buildroot}/*
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes LICENSE README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Fri Jun 21 2013 Iain Arnell <iarn...@gmail.com> 0.004-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-...@lists.fedoraproject.org> 
- 0.003-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index a84c2f3..b56826b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-10c1f76b6afce3b7080b2689b6a964d1  Mixin-Linewise-0.003.tar.gz
+bd79936157ed8930e74b9fcfb223525f  Mixin-Linewise-0.004.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to