update to 0.403 [release 0.403-1mamba;Sat Oct 21 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 08:50:57 +01:00
parent 3b703a4e09
commit 5ecfbf803a

View File

@ -1,25 +1,25 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) %define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-DateTime-Format-Mail Name: perl-DateTime-Format-Mail
Version: 0.3001 Epoch: 1
Release: 3mamba Version: 0.403
Release: 1mamba
Summary: DateTime::Format::Mail - Convert between DateTime and RFC2822/822 formats Summary: DateTime::Format::Mail - Convert between DateTime and RFC2822/822 formats
Group: System/Libraries/Perl Group: System/Libraries/Perl
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.cpan.org URL: https://www.cpan.org/
Source: http://www.cpan.org/modules/by-module/DateTime/DateTime-Format-Mail-%{version}.tar.gz Source: https://cpan.metacpan.org/authors/id/B/BO/BOOK/DateTime-Format-Mail-%{version}.tar.gz
Patch0: perl-DateTime-Format-Mail-0.3001-fix-DateTime-version-req.patch Patch0: perl-DateTime-Format-Mail-0.3001-fix-DateTime-version-req.patch
License: GPL, Artistic License: GPL, Artistic
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: perl-DateTime BuildRequires: perl-DateTime
BuildRequires: perl-devel
BuildRequires: perl-Params-Validate BuildRequires: perl-Params-Validate
BuildRequires: perl-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires: perl >= %perl_major_ver Requires: perl >= %perl_major_ver
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
# FIXME: # FIXME:
# make test: Test::Signature 1.03 not installed # make test: Test::Signature 1.03 not installed
@ -30,19 +30,17 @@ Convert between DateTime and RFC2822/822 formats.
%prep %prep
%setup -q -n DateTime-Format-Mail-%{version} %setup -q -n DateTime-Format-Mail-%{version}
%patch0 -p1 #%patch0 -p1
%build %build
perl Build.PL installdirs=vendor %{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
./Build
./Build test %make
%make test
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
./Build install \ %makeinstall_perl
destdir="%{buildroot}" \
--install_path bindoc="%{_mandir}/man1" \
--install_path libdoc="%{_mandir}/man3"
packlist=`find %{buildroot} -name .packlist` packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \ [ -z "$packlist" ] && exit 1 || cat $packlist | \
@ -65,6 +63,9 @@ rm -f .packlist
%defattr(-,root,root) %defattr(-,root,root)
%changelog %changelog
* Sat Oct 21 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.403-1mamba
- update to 0.403
* Tue Apr 30 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3001-3mamba * Tue Apr 30 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3001-3mamba
- rebuild with perl-DateTime 0.78 - rebuild with perl-DateTime 0.78