[perl-MogileFS-Utils] Modernize spec file (Šíleně žluťoučký kůň úpěl ďábělské ódy. おはよフェドラ�

Petr Pisar ppisar at fedoraproject.org
Thu Oct 18 07:13:30 UTC 2012


commit 3cf60ae2beb57e1a2baddefce87deddc0bbc0c4d
Author: Petr Písař <ppisar at redhat.com>
Date:   Thu Oct 18 09:10:02 2012 +0200

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

 perl-MogileFS-Utils.spec |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/perl-MogileFS-Utils.spec b/perl-MogileFS-Utils.spec
index c9c8703..53835c1 100644
--- a/perl-MogileFS-Utils.spec
+++ b/perl-MogileFS-Utils.spec
@@ -2,7 +2,7 @@
 
 Name:           perl-%{cpan_name}
 Version:        2.26
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Utilities for MogileFS
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -31,9 +31,8 @@ Utilities for the MogileFS distributed storage system.
 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
@@ -47,6 +46,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Thu Oct 18 2012 Petr Pisar <ppisar at redhat.com> - 2.26-2
+- Modernize spec file
+
 * Tue Aug 14 2012 Petr Pisar <ppisar at redhat.com> - 2.26-1
 - 2.26 bump
 


More information about the scm-commits mailing list