Buildrequire perl-devel for Fedora 7 onwards
This commit is contained in:
parent
cfa5fd2df5
commit
437ba130e3
@ -1,7 +1,7 @@
|
||||
Summary: Various mail-related perl modules
|
||||
Name: perl-MailTools
|
||||
Version: 1.74
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPL or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/MailTools/
|
||||
@ -12,6 +12,9 @@ BuildArch: noarch
|
||||
BuildRequires: perl(Net::Domain)
|
||||
BuildRequires: perl(Net::SMTP)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
%if 0%{?fedora} > 6
|
||||
BuildRequires: perl-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
MailTools is a set of Perl modules related to mail applications.
|
||||
@ -39,7 +42,7 @@ cd -
|
||||
%{__rm} -rf %{buildroot}
|
||||
%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
|
||||
/usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';'
|
||||
/usr/bin/find %{buildroot} -type d -depth -exec /bin/rmdir {} 2>/dev/null ';'
|
||||
/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} 2>/dev/null ';'
|
||||
%{__chmod} -R u+w %{buildroot}/*
|
||||
|
||||
%check
|
||||
@ -49,13 +52,17 @@ cd -
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,0755)
|
||||
%defattr(-,root,root,-)
|
||||
%doc ChangeLog README* examples/
|
||||
%{perl_vendorlib}/auto/Mail/
|
||||
%{perl_vendorlib}/Mail/
|
||||
%{_mandir}/man3/Mail::*.3pm*
|
||||
|
||||
%changelog
|
||||
* Thu Mar 8 2007 Paul Howarth <paul@city-fan.org> 1.74-4
|
||||
- Buildrequire perl-devel for Fedora 7 onwards
|
||||
- Fix argument order for find with -depth
|
||||
|
||||
* Wed Aug 30 2006 Paul Howarth <paul@city-fan.org> 1.74-3
|
||||
- FE6 mass rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user