[perl-Geo-IP] Remove old boilerplate from the spec file
Mathieu Bridon
bochecha at fedoraproject.org
Thu Oct 25 04:44:29 UTC 2012
commit 1a6b77e8d90c441508aacfb817b414c03c5cfd00
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date: Wed Oct 24 16:28:33 2012 +0800
Remove old boilerplate from the spec file
perl-Geo-IP.spec | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/perl-Geo-IP.spec b/perl-Geo-IP.spec
index aa6f743..63a066c 100644
--- a/perl-Geo-IP.spec
+++ b/perl-Geo-IP.spec
@@ -3,13 +3,11 @@ Version: 1.38
Release: 10%{?dist}
Summary: Efficient Perl bindings for the GeoIP location database
-Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Geo-IP/
Source0: http://search.cpan.org/CPAN/authors/id/B/BO/BORISZ/Geo-IP-%{version}.tar.gz
Patch0: Geo-IP-1.28-yahoo-namelookuptest.diff
Patch1: Geo-IP-1.28-example.diff
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: GeoIP-devel perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -36,19 +34,14 @@ find example/ -type f | xargs chmod -x
make test
%install
-rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w %{buildroot}/*
-%clean
-rm -rf %{buildroot}
-
%files
-%defattr(-,root,root,-)
%doc Changes INSTALL example
%{perl_vendorarch}/Geo
%{perl_vendorarch}/auto/Geo
More information about the scm-commits
mailing list