[perl-Net-DNS-Resolver-Programmable] Modernize spec file

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

 



commit 3d3208c33e22c231afb9cb51320c1c7dc12b5fd0
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Tue Oct 23 17:53:00 2012 +0200

    Modernize spec file

 perl-Net-DNS-Resolver-Programmable.spec |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/perl-Net-DNS-Resolver-Programmable.spec b/perl-Net-DNS-Resolver-Programmable.spec
index db1e6ae..160633e 100644
--- a/perl-Net-DNS-Resolver-Programmable.spec
+++ b/perl-Net-DNS-Resolver-Programmable.spec
@@ -6,7 +6,6 @@ License:        GPLv2+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Net-DNS-Resolver-Programmable/
 Source0:        http://www.cpan.org/authors/id/J/JM/JMEHNLE/net-dns-resolver-programmable/Net-DNS-Resolver-Programmable-v%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(Module::Build)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -26,21 +25,13 @@ on the fly.
 ./Build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 ./Build test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc CHANGES LICENSE README TODO
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
--
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