[perl-Proc-Wait3] Modernize spec.
corsepiu
corsepiu at fedoraproject.org
Sun Jan 22 07:00:20 UTC 2012
commit affe186de026758e6122e88f41419fc4a23d7c15
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date: Sun Jan 22 08:00:14 2012 +0100
Modernize spec.
perl-Proc-Wait3.spec | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/perl-Proc-Wait3.spec b/perl-Proc-Wait3.spec
index 04a6940..0323e45 100644
--- a/perl-Proc-Wait3.spec
+++ b/perl-Proc-Wait3.spec
@@ -1,12 +1,11 @@
Name: perl-Proc-Wait3
Version: 0.04
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Perl extension for wait3 system call
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Proc-Wait3/
Source0: http://www.cpan.org/authors/id/C/CT/CTILMES/Proc-Wait3-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -26,8 +25,6 @@ mv Changes~ Changes
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
@@ -39,9 +36,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 LICENSE
@@ -50,6 +44,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*
%changelog
+* Sun Jan 22 2012 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.04-4
+- Modernize spec.
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.04-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list