[perl-MIME-Lite] Filter out doc file dependencies
Petr Šabata
psabata at fedoraproject.org
Wed Nov 21 17:33:36 UTC 2012
commit ad22efe053fe4e08198c854a6255fae855088cf7
Author: Petr Šabata <contyk at redhat.com>
Date: Wed Nov 21 18:33:31 2012 +0100
Filter out doc file dependencies
perl-MIME-Lite.spec | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/perl-MIME-Lite.spec b/perl-MIME-Lite.spec
index 57672f3..8c6488e 100644
--- a/perl-MIME-Lite.spec
+++ b/perl-MIME-Lite.spec
@@ -1,17 +1,17 @@
Name: perl-MIME-Lite
Version: 3.029
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: MIME::Lite - low-calorie MIME generator
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/MIME-Lite/
Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/MIME-Lite-%{version}.tar.gz
BuildArch: noarch
-BuildRequires: perl(lib)
BuildRequires: perl(Carp)
BuildRequires: perl(Email::Date::Format)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec)
+BuildRequires: perl(lib)
BuildRequires: perl(Mail::Address)
BuildRequires: perl(MIME::Types) >= 1.28
BuildRequires: perl(Net::SMTP)
@@ -23,6 +23,8 @@ Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Email::Date::Format)
Requires: perl(MIME::Types) >= 1.28
+%{?perl_default_filter}
+
%description
MIME::Lite is intended as a simple, standalone module for generating (not
parsing!) MIME messages... Specifically, it allows you to output a simple,
@@ -41,7 +43,7 @@ perl Makefile.PL INSTALLDIRS=vendor
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 -empty -exec rmdir ';'
@@ -55,6 +57,10 @@ make test
%{_mandir}/man3/*.3*
%changelog
+* Wed Nov 21 2012 Petr Šabata <contyk at redhat.com> - 3.029-2
+- Filter out doc file dependencies
+- Modernize the spec a bit
+
* Wed Aug 22 2012 Petr Šabata <contyk at redhat.com> - 3.029-1
- 3.029 bump
- Fix deps, drop command macros
More information about the perl-devel
mailing list