[perl-Sendmail-PMilter] Update to 1.00
Paul Howarth
pghmcfc at fedoraproject.org
Mon Apr 18 12:33:56 UTC 2011
commit 3187f3087e2dac5686d7eb33a32105e9bb31c57b
Author: Paul Howarth <paul at city-fan.org>
Date: Mon Apr 18 13:33:23 2011 +0100
Update to 1.00
- New upstream release 1.00:
- Avoid infinite loop: signal handler modifies errno
- Added support for SMFIC_UNKNOWN
- Nobody else likes macros for commands
.gitignore | 2 +-
perl-Sendmail-PMilter.spec | 34 ++++++++++++++++++++--------------
sources | 2 +-
3 files changed, 22 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c6a45b8..6b0d9fb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/Sendmail-PMilter-0.99.tar.gz
+/Sendmail-PMilter-1.00.tar.gz
diff --git a/perl-Sendmail-PMilter.spec b/perl-Sendmail-PMilter.spec
index ce9e86b..aeb6ec7 100644
--- a/perl-Sendmail-PMilter.spec
+++ b/perl-Sendmail-PMilter.spec
@@ -1,7 +1,7 @@
Summary: Perl binding of Sendmail Milter protocol
Name: perl-Sendmail-PMilter
-Version: 0.99
-Release: 2%{?dist}
+Version: 1.00
+Release: 1%{?dist}
License: BSD
Group: Development/Libraries
URL: http://search.cpan.org/dist/Sendmail-PMilter/
@@ -9,10 +9,10 @@ Source0: http://search.cpan.org/CPAN/authors/id/A/AV/AVAR/Sendmail-PMilter-%{ver
Patch0: Sendmail-PMilter-Context.pm_pod.patch
Patch1: Sendmail-PMilter-0.97-setdbg-settimeout.patch
Patch2: Sendmail-PMilter-0.97-data-command.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Obsoletes: perl-Sendmail-Milter <= 0.18
%description
@@ -42,26 +42,26 @@ called Mail::Milter.
%patch2 -p1
# Fix interpreters in examples and turn off exec bits to avoid extra deps
-%{__sed} -i -e 's@/usr/local/bin/perl@%{__perl}@' examples/*.pl
-%{__chmod} -x examples/*.pl
+sed -i -e 's@/usr/local/bin/perl@/usr/bin/perl@' examples/*.pl
+chmod -x examples/*.pl
%build
# Using "echo" to bypass the interactive 'yes/no' question in Makefile.PL
-echo yes | %{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+echo yes | perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
%install
-%{__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} -depth -type d -exec /bin/rmdir {} ';' 2>/dev/null
+rm -rf %{buildroot}
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
%{_fixperms} %{buildroot}
%check
-%{__make} test
+make test
%clean
-%{__rm} -rf %{buildroot}
+rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
@@ -72,6 +72,12 @@ echo yes | %{__perl} Makefile.PL INSTALLDIRS=vendor
%{_mandir}/man3/Sendmail::PMilter::Context.3pm*
%changelog
+* Mon Apr 18 2011 Paul Howarth <paul at city-fan.org> 1.00-1
+- Update to 1.00
+ - Avoid infinite loop: signal handler modifies errno
+ - Added support for SMFIC_UNKNOWN
+- Nobody else likes macros for commands
+
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.99-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
diff --git a/sources b/sources
index 9a5961c..515cedc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-11d4aaf3514a9464a1a3ecda6073eb43 Sendmail-PMilter-0.99.tar.gz
+18f8fd3b69ef98014a1a5d55fbefd3d9 Sendmail-PMilter-1.00.tar.gz
More information about the scm-commits
mailing list