[perl-Digest-BubbleBabble: 16/18] Nobody else likes macros for commands

Paul Howarth pghmcfc at fedoraproject.org
Thu Mar 24 11:28:16 UTC 2011


commit 18ba90115f2fa932766bcfff71a034bd823fcd2c
Author: Paul Howarth <paul at city-fan.org>
Date:   Thu Mar 24 11:12:50 2011 +0000

    Nobody else likes macros for commands

 perl-Digest-BubbleBabble.spec |   23 ++++++++++++-----------
 1 files changed, 12 insertions(+), 11 deletions(-)
---
diff --git a/perl-Digest-BubbleBabble.spec b/perl-Digest-BubbleBabble.spec
index 48afaf1..eaa3d57 100644
--- a/perl-Digest-BubbleBabble.spec
+++ b/perl-Digest-BubbleBabble.spec
@@ -6,9 +6,9 @@ License:	GPL+ or Artistic
 Group:		Development/Libraries
 Url:		http://search.cpan.org/dist/Digest-BubbleBabble/
 Source0:	http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/Digest-BubbleBabble-%{version}.tar.gz
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
-Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 BuildRequires:	perl(ExtUtils::MakeMaker)
 
 %description
@@ -29,21 +29,21 @@ fingerprint.
 %setup -q -n Digest-BubbleBabble-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %check
-%{__make} test
+make test
 
 %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 PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
+chmod -R u+w %{buildroot}
 
 %clean
-%{__rm} -rf %{buildroot}
+rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
@@ -59,6 +59,7 @@ fingerprint.
   - Removed magic svn keywords
   - Added author tests (xt/) and modified SYNOPSIS for all modules to make
     them pass the compilation test
+- Nobody else likes macros for commands
 
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.01-15
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild



More information about the perl-devel mailing list