[perl-PlRPC] Modernize spec file

Petr Pisar ppisar at fedoraproject.org
Wed Oct 24 15:41:04 UTC 2012


commit 18349eae219f8c4ad82fd3c341e6f73cf4cb3aac
Author: Petr Písař <ppisar at redhat.com>
Date:   Wed Oct 24 17:40:51 2012 +0200

    Modernize spec file

 perl-PlRPC.spec |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/perl-PlRPC.spec b/perl-PlRPC.spec
index 0158938..1d63f00 100644
--- a/perl-PlRPC.spec
+++ b/perl-PlRPC.spec
@@ -1,6 +1,6 @@
 Name:       perl-PlRPC 
 Version:    0.2020 
-Release:    11%{?dist}
+Release:    12%{?dist}
 License:    GPL+ or Artistic
 Group:      Development/Libraries
 Summary:    Interface for writing PlRPC clients and servers
@@ -19,8 +19,6 @@ BuildRequires:  perl(Net::Daemon) >= 0.13
 BuildRequires:  perl(Net::Daemon::Log)
 BuildRequires:  perl(Net::Daemon::Test)
 BuildRequires:  perl(Storable)
-# Tests
-BuildRequires:  perl(Net::Daemon::Test)
 # Optionable tests
 BuildRequires:  perl(Crypt::DES)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -46,9 +44,8 @@ defining a set of methods that may be executed by the client.
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=%{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
@@ -60,6 +57,9 @@ make test
 %{_mandir}/man3/*.3*
 
 %changelog
+* Wed Oct 24 2012 Petr Pisar <ppisar at redhat.com> - 0.2020-12
+- Modernize spec file
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2020-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 



More information about the perl-devel mailing list