Update to 2.14
- New upstream release 2.14 - MojoX should not die on missing types (CPAN RT#123298) - Drop EL-5 support - Drop BuildRoot: and Group: tags - Drop explicit buildroot cleaning in %install section - Drop explicit %clean section
This commit is contained in:
parent
8179e514de
commit
a23351cae9
@ -8,21 +8,19 @@
|
||||
%endif
|
||||
|
||||
Name: perl-MIME-Types
|
||||
Version: 2.13
|
||||
Release: 5%{?dist}
|
||||
Version: 2.14
|
||||
Release: 1%{?dist}
|
||||
Summary: MIME types module for Perl
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/MIME-Types/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MIME-Types-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
||||
BuildArch: noarch
|
||||
# Module Build
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
# Module Runtime
|
||||
BuildRequires: perl(base)
|
||||
@ -60,7 +58,6 @@ are not registered at IANA need to use 'x-' prefixes.
|
||||
%package -n perl-MojoX-MIME-Types
|
||||
|
||||
Summary: MIME Types for Mojolicious
|
||||
Group: Development/Libraries
|
||||
Requires: perl-MIME-Types = %{version}-%{release}
|
||||
|
||||
%description -n perl-MojoX-MIME-Types
|
||||
@ -81,18 +78,14 @@ perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -delete
|
||||
%{_fixperms} %{buildroot}
|
||||
%{_fixperms} -c %{buildroot}
|
||||
|
||||
%check
|
||||
make test
|
||||
make test TEST_FILES="xt/*.t"
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%doc ChangeLog README
|
||||
%{perl_vendorlib}/MIME/
|
||||
@ -109,6 +102,14 @@ rm -rf %{buildroot}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Nov 10 2017 Paul Howarth <paul@city-fan.org> - 2.14-1
|
||||
- Update to 2.14
|
||||
- MojoX should not die on missing types (CPAN RT#123298)
|
||||
- Drop EL-5 support
|
||||
- Drop BuildRoot: and Group: tags
|
||||
- Drop explicit buildroot cleaning in %%install section
|
||||
- Drop explicit %%clean section
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.13-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user