|
@@ -1,13 +1,12 @@
|
|
|
-%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
|
|
|
-
|
|
|
Summary: a set of perl modules related to mail applications
|
|
|
Summary(ja): メールアプリケーション関連の Perl モジュールセット
|
|
|
Name: perl-MailTools
|
|
|
-Version: 2.04
|
|
|
-Release: 2%{_dist_release}
|
|
|
+Version: 2.07
|
|
|
+Release: 1%{_dist_release}
|
|
|
License: Artistic
|
|
|
Group: Development/Libraries
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MailTools-%{version}.tar.gz
|
|
|
+Source1: filter-requires-MailTools.sh
|
|
|
Url: http://search.cpan.org/author/MARKOV/MailTools/
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: perl >= 5.8.0
|
|
@@ -16,6 +15,15 @@ Requires: perl >= 5.8.0
|
|
|
Requires: perl-TimeDate
|
|
|
BuildArch: noarch
|
|
|
|
|
|
+%if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl4"
|
|
|
+%define __find_requires %{SOURCE1}
|
|
|
+%else
|
|
|
+%define __perl_requires %{SOURCE1}
|
|
|
+%endif
|
|
|
+
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
+
|
|
|
%description
|
|
|
This is MailTools, a set of perl modules related to mail applications.
|
|
|
|
|
@@ -59,6 +67,12 @@ fi
|
|
|
%dir %{perl_vendorlib}/Mail/Mailer
|
|
|
|
|
|
%changelog
|
|
|
+* Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 2.07-1
|
|
|
+- new upstream release
|
|
|
+- add requires filter (Source1)
|
|
|
+- add Vendor and Distribution tags
|
|
|
+- drop defined perl_vendorlib macro
|
|
|
+
|
|
|
* Wed Apr 08 2009 Shu KONNO <owa@bg.wakwak.com> 2.04-2
|
|
|
- spec in utf-8
|
|
|
|