[perl-Data-Buffer] Nobody else likes macros for commands

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

 



commit 9a504637cf3fa23cfb356ca6895d765b2ba7c1f6
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Wed Jan 11 10:57:43 2012 +0000

    Nobody else likes macros for commands

 perl-Data-Buffer.spec |   39 +++++++++++++++++++++------------------
 1 files changed, 21 insertions(+), 18 deletions(-)
---
diff --git a/perl-Data-Buffer.spec b/perl-Data-Buffer.spec
index 860aac1..2e47b13 100644
--- a/perl-Data-Buffer.spec
+++ b/perl-Data-Buffer.spec
@@ -1,15 +1,15 @@
 Summary:	Read/write buffer class for perl
 Name:		perl-Data-Buffer
 Version:	0.04
-Release:	13%{?dist}
+Release:	14%{?dist}
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 Url:		http://search.cpan.org/dist/Data-Buffer/
 Source0:	http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/Data-Buffer-%{version}.tar.gz
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
 BuildRequires:	perl(ExtUtils::MakeMaker)
+Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 Data::Buffer implements a low-level binary buffer in which you can get and put
@@ -21,21 +21,21 @@ built-in functions.
 %setup -q -n Data-Buffer-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
-
-%check
-%{__make} test
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %install
-%{__rm} -rf %{buildroot}
-%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
-/usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';'
-/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} ';' 2>/dev/null
-%{__chmod} -R u+w %{buildroot}
+rm -rf %{buildroot}
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
+%{_fixperms} %{buildroot}
+
+%check
+make test
 
 %clean
-%{__rm} -rf %{buildroot}
+rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
@@ -44,14 +44,17 @@ built-in functions.
 %{_mandir}/man3/Data::Buffer.3pm*
 
 %changelog
-* Thu Jun 16 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 0.04-13
+* Wed Jan 11 2012 Paul Howarth <paul@xxxxxxxxxxxx> 0.04-14
+- Nobody else likes macros for commands
+
+* Thu Jun 16 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> 0.04-13
 - Perl mass rebuild
 
-* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.04-12
+* Tue Feb  8 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> 0.04-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
-* Thu Dec 16 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.04-11
-- 661697 rebuild for fixing problems with vendorach/lib
+* Thu Dec 16 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> 0.04-11
+- Rebuild to fix problems with vendorarch/lib (#661697)
 
 * Fri Apr 30 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> 0.04-10
 - Mass rebuild with perl 5.12.0
--
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