[perl-PlRPC] Modernize spec file

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

 



commit 18349eae219f8c4ad82fd3c341e6f73cf4cb3aac
Author: Petr Písař <ppisar@xxxxxxxxxx>
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@xxxxxxxxxx> - 0.2020-12
+- Modernize spec file
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.2020-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
--
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