cosmetic changes only; no new package build requested
This commit is contained in:
parent
5bcd6dbc4e
commit
84fd415c28
@ -1,52 +1,50 @@
|
|||||||
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: 1%{?dist}
|
Release: 2%{?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/
|
||||||
Source0: http://www.cpan.org/authors/id/M/MA/MARKOV/MailTools-%{version}.tar.gz
|
Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MailTools-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl >= 1:5.6.1
|
|
||||||
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))
|
||||||
|
|
||||||
%description
|
%description
|
||||||
MailTools is a set of Perl modules related to mail applications.
|
MailTools is a set of Perl modules related to mail applications.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n MailTools-%{version}
|
%setup -q -n MailTools-%{version}
|
||||||
|
# Set up example scripts
|
||||||
cd examples
|
cd examples
|
||||||
for file in *.PL ; do %{__perl} $file ; done ; chmod -x *_demo
|
for file in *.PL
|
||||||
rm *.PL # yeah, causes warnings from MakeMaker, but we don't care
|
do
|
||||||
cd ..
|
%{__perl} $file
|
||||||
|
done
|
||||||
|
%{__chmod} -x *_demo
|
||||||
|
# Remove example-generation scripts, no longer needed
|
||||||
|
# It causes warnings from MakeMaker, but we don't care
|
||||||
|
%{__rm} *.PL
|
||||||
|
cd -
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%{__rm} -rf %{buildroot}
|
||||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
|
||||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
/usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';'
|
||||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
/usr/bin/find %{buildroot} -type d -depth -exec /bin/rmdir {} 2>/dev/null ';'
|
||||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
%{__chmod} -R u+w %{buildroot}/*
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
%{__make} test
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%{__rm} -rf %{buildroot}
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,0755)
|
%defattr(-,root,root,0755)
|
||||||
@ -55,8 +53,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{perl_vendorlib}/Mail/
|
%{perl_vendorlib}/Mail/
|
||||||
%{_mandir}/man3/Mail::*.3pm*
|
%{_mandir}/man3/Mail::*.3pm*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 28 2008 Paul Howarth <paul@city-fan.org> 1.74-2
|
||||||
|
- cosmetic spec file changes
|
||||||
|
|
||||||
* Wed Mar 1 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.74-1
|
* Wed Mar 1 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.74-1
|
||||||
- 1.74.
|
- 1.74.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user