[perl-version/f14/master] Change to new guidelines
Marcela Mašláňová
mmaslano at fedoraproject.org
Fri Feb 4 11:45:48 UTC 2011
commit d220ef68806a65ccd24949d9344f7aff3c5bf177
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date: Fri Feb 4 12:40:34 2011 +0100
Change to new guidelines
perl-version.spec | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/perl-version.spec b/perl-version.spec
index 338f7c1..378c492 100644
--- a/perl-version.spec
+++ b/perl-version.spec
@@ -7,7 +7,6 @@ License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/version/
Source0: http://www.cpan.org/authors/id/J/JP/JPEACOCK/version-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(Module::Build)
BuildRequires: perl(Test::More) >= 0.45
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -30,8 +29,6 @@ strongly urged to set 0.77 as a minimum in your code.
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 -type f -name '*.bs' -size 0 -exec rm -f {} \;
@@ -42,9 +39,6 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} \; 2>/dev/null
%check
make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
%defattr(-,root,root,-)
%doc Changes README
More information about the scm-commits
mailing list