Compare commits

..

No commits in common. "rawhide" and "f30" have entirely different histories.
rawhide ... f30

3 changed files with 34 additions and 102 deletions

4
.gitignore vendored
View File

@ -5,7 +5,3 @@
/Mail-Message-3.006.tar.gz
/Mail-Message-3.007.tar.gz
/Mail-Message-3.008.tar.gz
/Mail-Message-3.009.tar.gz
/Mail-Message-3.010.tar.gz
/Mail-Message-3.011.tar.gz
/Mail-Message-3.012.tar.gz

View File

@ -1,32 +1,31 @@
Name: perl-Mail-Message
Version: 3.012
Release: 4%{?dist}
Version: 3.008
Release: 1%{?dist}
Summary: MIME message handling
License: GPL+ or Artistic
URL: https://metacpan.org/release/Mail-Message
Source0: https://cpan.metacpan.org/modules/by-module/Mail/Mail-Message-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: coreutils
BuildRequires: make
Source0: https://cpan.metacpan.org/authors/id/M/MA/MARKOV/Mail-Message-%{version}.tar.gz
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# Runtime
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(Cwd)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Date::Format)
BuildRequires: perl(Date::Parse)
%if !%{defined perl_bootstrap}
BuildRequires: perl(Email::Abstract)
%endif
BuildRequires: perl(Email::Simple)
BuildRequires: perl(Encode) >= 2.26
BuildRequires: perl(Encode::Alias)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Copy)
BuildRequires: perl(File::Spec) >= 0.7
BuildRequires: perl(File::Temp)
BuildRequires: perl(HTML::FormatPS)
BuildRequires: perl(Font::Metrics::TimesRoman)
BuildRequires: perl(HTML::FormatText) >= 2.01
BuildRequires: perl(HTML::TreeBuilder) >= 3.13
BuildRequires: perl(integer)
@ -59,27 +58,22 @@ BuildRequires: perl(Text::Autoformat)
BuildRequires: perl(Time::HiRes) >= 1.51
BuildRequires: perl(Time::Zone)
BuildRequires: perl(URI) >= 1.23
BuildRequires: perl(User::Identity) >= 1.01
BuildRequires: perl(User::Identity) >= 0.94
BuildRequires: perl(User::Identity::Collection::Emails)
BuildRequires: perl(utf8)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
# Test Suite
BuildRequires: perl(Data::Dumper)
# Optional Tests
%if !%{defined perl_bootstrap}
BuildRequires: perl(Email::Abstract)
%endif
# Dependencies
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# Remember when we could assume build environments had common packages?
# Pepperidge Farm remembers.
BuildRequires: coreutils, make, glibc-common
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# Explicit run requires
Requires: perl(Date::Parse)
%if !%{defined perl_bootstrap}
Requires: perl(Mail::Transport::Send)
%endif
Requires: perl(Net::Domain)
Requires: perl(Time::HiRes) >= 1.51
Requires: perl(Time::Zone)
Requires: perl(User::Identity) >= 1.01
# I'm not sure why these provides aren't getting picked up automatically.
Provides: perl(Mail::Message::Body::Construct) = %{version}
@ -100,96 +94,38 @@ MIME message handling code, formerly part of the Mail::Box package.
# The licensing on these test files is unclear.
# They seem to contain content posted publicly to usenet
# so there is an argument that the content is distributable
# but it's not under a Free license.
# but its not under a Free license.
# We delete these files to resolve the issue.
# https://rt.cpan.org/Public/Bug/Display.html?id=120149
rm -rf t/203-mlfolder.mbox t/204-sgfolder.mbox
rm -rf t/203head-listgroup.t t/204head-spamgroup.t
%{?perl_default_filter}
%build
yes y |perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
yes y |%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make
%install
%{make_install}
%{_fixperms} -c %{buildroot}
make pure_install DESTDIR=$RPM_BUILD_ROOT
%{_fixperms} $RPM_BUILD_ROOT/*
# Fix file encoding
recode()
{
iconv -f "$2" -t utf-8 < "$1" > "${1}_"
mv -f "${1}_" "$1"
}
recode $RPM_BUILD_ROOT%{_mandir}/man3/Mail::Message::Field.3pm iso-8859-1
%check
make test
%files
%doc ChangeLog README README.md
%doc README ChangeLog
%{perl_vendorlib}/Mail/
%{_mandir}/man3/Mail::*.3*
%{_mandir}/man3/*.3*
%changelog
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.012-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 3.012-3
- Perl 5.36 re-rebuild of bootstrapped packages
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 3.012-2
- Perl 5.36 rebuild
* Tue Mar 1 2022 Paul Howarth <paul@city-fan.org> - 3.012-1
- Update to 3.012
- Use author-independent source URL
- Classify buildreqs by usage
- Drop redundant %%{?perl_default_filter}
- Drop recoding of Mail::Message::Field manpage since it has changed to UTF-8
coding upstream
- Package README.md too (guide for contributors)
- Fix permissions verbosely
* Wed Jan 26 2022 Paul Howarth <paul@city-fan.org> - 3.011-3
- EPEL-9 post-bootstrap rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.011-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Jul 27 2021 Tom Callaway <spot@fedoraproject.org> - 3.011-1
- update to 3.011
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.010-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 3.010-4
- Perl 5.34 re-rebuild of bootstrapped packages
* Sun May 23 2021 Jitka Plesnikova <jplesnik@redhat.com> - 3.010-3
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.010-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Oct 19 2020 Tom Callaway <spot@fedoraproject.org> - 3.010-1
- update to 3.010
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.009-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 3.009-3
- Perl 5.32 re-rebuild of bootstrapped packages
* Thu Jun 25 2020 Jitka Plesnikova <jplesnik@redhat.com> - 3.009-2
- Perl 5.32 rebuild
* Tue Feb 11 2020 Tom Callaway <spot@fedoraproject.org> - 3.009-1
- update to 3.009
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.008-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.008-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 3.008-3
- Perl 5.30 re-rebuild of bootstrapped packages
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 3.008-2
- Perl 5.30 rebuild
* Mon Feb 11 2019 Tom Callaway <spot@fedoraproject.org> - 3.008-1
- update to 3.008

View File

@ -1 +1 @@
SHA512 (Mail-Message-3.012.tar.gz) = a29101f3e4ba30ca49e6e1fab39d3358df02ab95a99d6a9bd7e3d4e0d23e0cc3e8bf407adc7d21b83e52157d660014374157aeb44085e88ad2e4fb0b4553b8b4
SHA512 (Mail-Message-3.008.tar.gz) = 4fd4d0d82e3bef47942509b8988a62ff027a9377cf87e6ca5d4c50880d16bdcdb5671cd3cb860043cb736efe52f31a1be300014788b0137f1fab4568b90e4002