[perl-Mail-MboxParser] Remove obsolete spec code

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

 



commit ebf7daeb2902a920748698c2b249718f343dd999
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Thu Jun 23 08:37:20 2011 +0200

    Remove obsolete spec code

 perl-Mail-MboxParser.spec |   16 +++++-----------
 1 files changed, 5 insertions(+), 11 deletions(-)
---
diff --git a/perl-Mail-MboxParser.spec b/perl-Mail-MboxParser.spec
index 3e4fc86..1442e02 100644
--- a/perl-Mail-MboxParser.spec
+++ b/perl-Mail-MboxParser.spec
@@ -1,19 +1,17 @@
 Name:           perl-Mail-MboxParser
 Version:        0.55
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Read-only access to UNIX-mailboxes
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Mail-MboxParser/
 Source0:        http://www.cpan.org/authors/id/V/VP/VPARSEVAL/Mail-MboxParser-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(MIME::Tools) >= 5
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Requires:       perl(MIME::Tools) >= 5
 Requires:       perl(Mail::Mbox::MessageParser)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %{?perl_default_filter}
 
@@ -31,27 +29,23 @@ from MIME::Tools on the appropriate return values.
 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 Changelog README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Thu Jun 23 2011 Petr Pisar <ppisar@xxxxxxxxxx> - 0.55-4
+- Remove obsolete code from spec file
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.55-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_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