[perl-MailTools] Nobody else likes macros for commands
by Paul Howarth
commit 5d8856b50476334cd40dc5f3f0a8ae4869483b17
Author: Paul Howarth <paul(a)city-fan.org>
Date: Wed Jun 1 15:17:34 2011 +0100
Nobody else likes macros for commands
perl-MailTools.spec | 27 ++++++++++++++-------------
1 files changed, 14 insertions(+), 13 deletions(-)
---
diff --git a/perl-MailTools.spec b/perl-MailTools.spec
index e265585..2b285f1 100644
--- a/perl-MailTools.spec
+++ b/perl-MailTools.spec
@@ -7,9 +7,9 @@ Group: Development/Libraries
URL: http://search.cpan.org/dist/MailTools/
Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MailTools-%{version}.t...
Patch0: MailTools-2.08-UTF8.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
BuildRequires: perl(Date::Format), perl(Date::Parse), perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More), perl(Test::Pod), perl >= 3:5.8.1
@@ -22,33 +22,33 @@ MailTools is a set of Perl modules related to mail applications.
# Set up example scripts
cd examples
for file in *.PL; do
- %{__perl} $file
+ perl $file
done
-%{__chmod} -x *_demo
+chmod -x *_demo
# Remove example-generation scripts, no longer needed
# It causes warnings from MakeMaker, but we don't care
-%{__rm} *.PL
+rm *.PL
cd -
# Fix character encodings
%patch0 -p1
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+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 PERL_INSTALL_ROOT=%{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,-)
@@ -106,6 +106,7 @@ cd -
- Mail::Internet should accept Net::SMTP::SSL as well (CPAN RT#68590)
- Document that Mail::Mailer::smtps needs Authen::SASL
- Use patch rather than iconv to convert docs to UTF8 encoding
+- Nobody else likes macros for commands
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 2.07-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
12 years, 10 months
[perl-MailTools] Update to 2.08 (#709697)
by Paul Howarth
commit e1381314bc5a4ffb7f3d438655ce602a08284f13
Author: Paul Howarth <paul(a)city-fan.org>
Date: Wed Jun 1 15:12:50 2011 +0100
Update to 2.08 (#709697)
- New upstream release 2.08:
- Respect errors on closing a Mail::Mailer::smtp/::smtps connection
- Mail::Internet should accept Net::SMTP::SSL as well (CPAN RT#68590)
- Document that Mail::Mailer::smtps needs Authen::SASL
- Use patch rather than iconv to convert docs to UTF8 encoding
.gitignore | 2 +-
MailTools-2.08-UTF8.patch | 65 +++++++++++++++++++++++++++++++++++++++++++++
perl-MailTools.spec | 15 +++++++---
sources | 2 +-
4 files changed, 78 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index eae87af..c5156d1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/MailTools-2.07.tar.gz
+/MailTools-[0-9.]*.tar.gz
diff --git a/MailTools-2.08-UTF8.patch b/MailTools-2.08-UTF8.patch
new file mode 100644
index 0000000..a41cbf8
--- /dev/null
+++ b/MailTools-2.08-UTF8.patch
@@ -0,0 +1,65 @@
+--- MailTools-2.08/ChangeLog 2011-06-01 12:55:38.000000000 +0100
++++ MailTools-2.08/ChangeLog 2011-06-01 14:41:45.004502111 +0100
+@@ -33,7 +33,7 @@
+ - express more clearly that Authen::SASL needs to be installed
+ manually if you need the functionality
+
+- - support for smtps via Net::SMTP::SSL, by [Maciej Żenczykowski]
++ - support for smtps via Net::SMTP::SSL, by [Maciej Żenczykowski]
+
+ version 2.05: Fri Dec 18 22:39:21 CET 2009
+
+@@ -61,7 +61,7 @@
+ - Mail::Field::_require_dir complained on 5.10 about a closed
+ dirhandle. rt.cpan.org#37114 [Manuel Hecht]
+
+- - Bcc line removed before collecting addresses. [Jørgen Thomsen]
++ - Bcc line removed before collecting addresses. [Jørgen Thomsen]
+
+ Improvements:
+
+@@ -72,7 +72,7 @@
+
+ Fixes:
+
+- - Netware needs to use smtp as well [Günter Knauf]
++ - Netware needs to use smtp as well [Günter Knauf]
+
+ - Mail::Field::extract() fixed. Reported by [Andrea Venturol]
+
+@@ -237,7 +237,7 @@
+
+ - Extended explanation that Mail::Address is limited.
+
+- - Added examples/mail-mailer.pl, contributed by [Bruno Negrão]
++ - Added examples/mail-mailer.pl, contributed by [Bruno Negrão]
+
+ - use Mail::Mailer qw(mail) sets default mailer. Doc update by
+ [Slavan Rezic]
+@@ -288,7 +288,7 @@
+
+ - [Erik Van Roode] Mail::Mailer::test.pm -> Mail::Mailer::testfile.pm
+
+- - [Jérôme Dion] corrected the folding of lines: folds start only
++ - [Jérôme Dion] corrected the folding of lines: folds start only
+ with one blank according to rfc2822.
+
+ - Added a big warning against automatic sender email address
+@@ -414,7 +414,7 @@
+ time ago, broke the parser. As example
+ "Mark Overmeer <mailtools(a)overmeer.net> (mailtools maintainer)"
+ was parsed into two separate objects.... wrong.
+- [Nicholas Oxhøj] reversed the patch.
++ [Nicholas Oxhøj] reversed the patch.
+
+ version 1.47: Fri Jul 5 12:02:55 CEST 2002
+
+@@ -708,7 +708,7 @@
+ - check in $ENV{HOME} is defined
+
+ Mail::Address
+- - Fix capitalization problems with names like "Ließegang"
++ - Fix capitalization problems with names like "LieÃegang"
+
+ Change 290 on 1999/03/31 by <gbarr(a)pobox.com> (Graham Barr)
+
diff --git a/perl-MailTools.spec b/perl-MailTools.spec
index 03caeb1..e265585 100644
--- a/perl-MailTools.spec
+++ b/perl-MailTools.spec
@@ -1,11 +1,12 @@
Summary: Various mail-related perl modules
Name: perl-MailTools
-Version: 2.07
-Release: 2%{?dist}
+Version: 2.08
+Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/MailTools/
Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MailTools-%{version}.t...
+Patch0: MailTools-2.08-UTF8.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -30,8 +31,7 @@ done
cd -
# Fix character encodings
-/usr/bin/iconv -f iso-8859-1 -t utf8 < ChangeLog > ChangeLog.utf8
-%{__mv} ChangeLog.utf8 ChangeLog
+%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -100,6 +100,13 @@ cd -
%{_mandir}/man3/Mail::Util.3pm*
%changelog
+* Wed Jun 1 2011 Paul Howarth <paul(a)city-fan.org> - 2.08-1
+- Update to 2.08 (#709697)
+ - Respect errors on closing a Mail::Mailer::smtp/::smtps connection
+ - Mail::Internet should accept Net::SMTP::SSL as well (CPAN RT#68590)
+ - Document that Mail::Mailer::smtps needs Authen::SASL
+- Use patch rather than iconv to convert docs to UTF8 encoding
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 2.07-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
diff --git a/sources b/sources
index 32a206d..eb8cabf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-df861e05cbcf3a336ecebfb2c42529d0 MailTools-2.07.tar.gz
+0245bf7985c6661e0cf31a59657a18f0 MailTools-2.08.tar.gz
12 years, 10 months
[perl-Log-Log4perl] 1.33 bump clean spec from defattr, clean section & rm -rf
by Marcela Mašláňová
commit 2f5e63274112930b6e22c4a139a2d333d35c662a
Author: Marcela Mašláňová <mmaslano(a)redhat.com>
Date: Wed Jun 1 12:59:18 2011 +0200
1.33 bump
clean spec from defattr, clean section & rm -rf
.gitignore | 1 +
perl-Log-Log4perl.spec | 12 +++++-------
sources | 2 +-
3 files changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9c16500..6c12f89 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
Log-Log4perl-1.24.tar.gz
/Log-Log4perl-1.30.tar.gz
/Log-Log4perl-1.32.tar.gz
+/Log-Log4perl-1.33.tar.gz
diff --git a/perl-Log-Log4perl.spec b/perl-Log-Log4perl.spec
index e52d8e5..476422b 100644
--- a/perl-Log-Log4perl.spec
+++ b/perl-Log-Log4perl.spec
@@ -1,5 +1,5 @@
Name: perl-Log-Log4perl
-Version: 1.32
+Version: 1.33
Release: 1%{?dist}
Summary: Log4j implementation for Perl
Group: Development/Libraries
@@ -42,7 +42,6 @@ find lib -name "*.pm" -exec chmod -c a-x {} ';'
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
@@ -53,12 +52,7 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
make test L4P_ALL_TESTS=1
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
%files
-%defattr(-,root,root,-)
%doc Changes LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man1/*
@@ -67,6 +61,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Wed Jun 1 2011 Marcela Mašláňová <mmaslano(a)redhat.com> - 1.33-1
+- 1.33 bump
+- clean spec from defattr, clean section & rm -rf
+
* Mon Feb 28 2011 Petr Sabata <psabata(a)redhat.com> - 1.32-1
- 1.32 bump, bugfix release
diff --git a/sources b/sources
index 3d88e22..0b1a442 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a92ef7387e46923c14dc2020a00125ad Log-Log4perl-1.32.tar.gz
+80478bfcc06890718375c126c3d84206 Log-Log4perl-1.33.tar.gz
12 years, 10 months
[perl-Task-Perl-Critic] Change license of spec file.
by Petr Pisar
commit 21e7d51b593a3b14cd412e375c6c3c537d3d9ceb
Author: Petr Písař <ppisar(a)redhat.com>
Date: Wed Jun 1 09:31:37 2011 +0200
Change license of spec file.
perl-Task-Perl-Critic.spec | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/perl-Task-Perl-Critic.spec b/perl-Task-Perl-Critic.spec
index ef6d266..5f04fae 100644
--- a/perl-Task-Perl-Critic.spec
+++ b/perl-Task-Perl-Critic.spec
@@ -1,3 +1,4 @@
+# This file is licensed under the terms of GNU GPLv2+.
Name: perl-Task-Perl-Critic
Version: 1.007
Release: 1%{?dist}
12 years, 10 months
[perl-Task-Perl-Critic] Import
by Petr Pisar
commit 65cb4ad57e98be09411254473b97cffb743c19f3
Author: Petr Písař <ppisar(a)redhat.com>
Date: Wed Jun 1 09:23:10 2011 +0200
Import
.gitignore | 1 +
perl-Task-Perl-Critic.spec | 65 ++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..26371d7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Task-Perl-Critic-1.007.tar.gz
diff --git a/perl-Task-Perl-Critic.spec b/perl-Task-Perl-Critic.spec
new file mode 100644
index 0000000..ef6d266
--- /dev/null
+++ b/perl-Task-Perl-Critic.spec
@@ -0,0 +1,65 @@
+Name: perl-Task-Perl-Critic
+Version: 1.007
+Release: 1%{?dist}
+Summary: Install everything Perl::Critic
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Task-Perl-Critic/
+Source0: http://www.cpan.org/authors/id/E/EL/ELLIOTJS/Task-Perl-Critic-%{version}....
+BuildArch: noarch
+BuildRequires: perl(Module::Build)
+# Other requires from META.yml are not needed at build and check time. There
+# is no code, no provided modules. Do not BuildRequire them.
+# Tests only:
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Pod) >= 1.00
+BuildRequires: perl(Test::Pod::Coverage) >= 1.04
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(criticism) >= 1.01
+Requires: perl(Perl::Critic) >= 1.085
+Requires: perl(Perl::Critic::Bangs) >= 1.00
+Requires: perl(Perl::Critic::Compatibility) >= 1.000
+Requires: perl(Perl::Critic::Lax) >= 0.007
+Requires: perl(Perl::Critic::More) >= 1.000
+Requires: perl(Perl::Critic::Nits) >= 1.000000
+Requires: perl(Perl::Critic::PetPeeves::JTRAMMELL) >= 0.01
+Requires: perl(Perl::Critic::Pulp) >= 3
+Requires: perl(Perl::Critic::Storable)
+Requires: perl(Perl::Critic::StricterSubs) >= 0.03
+# Perl::Critic::Swift: 1.000003 is decimal notion for 1.0.3 version
+Requires: perl(Perl::Critic::Swift) >= 1.0.3
+Requires: perl(Perl::Critic::Tics) >= 0.005
+Requires: perl(Test::Perl::Critic) >= 1.01
+Requires: perl(Test::Perl::Critic::Progressive) >= 0.02
+
+%description
+This module does nothing but act as a placeholder. See Task.
+
+%prep
+%setup -q -n Task-Perl-Critic-%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+./Build test
+
+%files
+%doc Changes LICENSE README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Jan 25 2011 Petr Pisar <ppisar(a)redhat.com> 1.007-1
+- Specfile autogenerated by cpanspec 1.78.
+- Do not BuildRequire run-time dependencies, they are not used at build and
+ check time indeed.
+- Remove BuildRoot stuff
+- Remove explicit defattr
+
diff --git a/sources b/sources
index e69de29..8888571 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0a1e57fd2eff60868f0fee7409f5d027 Task-Perl-Critic-1.007.tar.gz
12 years, 10 months