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