[perl-Geo-IPfree] Clean spec (Šíleně žluťoučký kůň úpěl ďábělské ódy. おはよフェドラ!)

Petr Pisar ppisar at fedoraproject.org
Wed Oct 26 07:47:36 UTC 2011


commit 2941acc9cc322f6f86ca68c159b7ac11ce9ef393
Author: Petr Písař <ppisar at redhat.com>
Date:   Wed Oct 26 09:41:28 2011 +0200

    Clean spec (Šíleně žluťoučký kůň úpěl ďábělské ódy. おはよフェドラ!)
    
    The crazy subject is to test
    <https://fedorahosted.org/rel-eng/ticket/3930>.

 perl-Geo-IPfree.spec |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/perl-Geo-IPfree.spec b/perl-Geo-IPfree.spec
index 6edc7b8..ef2e900 100644
--- a/perl-Geo-IPfree.spec
+++ b/perl-Geo-IPfree.spec
@@ -8,7 +8,6 @@ License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/%{cpan_name}/
 Source0:        http://www.cpan.org/authors/id/B/BR/BRICAS/%{cpan_name}-%{cpan_version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Exporter)
@@ -33,23 +32,15 @@ is totally free.
 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 {} \;
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes misc README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
@@ -57,6 +48,7 @@ rm -rf $RPM_BUILD_ROOT
 %changelog
 * Wed Oct 26 2011 Petr Pisar <ppisar at redhat.com> - 1.1.1.2.8.7.0-1
 - 1.112870 bump
+- Remove BuildRoot and defattr from spec code
 
 * Mon Jun 20 2011 Marcela Mašláňová <mmaslano at redhat.com> - 1.1.0.2.8.7.0-4
 - Perl mass rebuild


More information about the scm-commits mailing list