Convert license to SPDX.

Modernize spec.
Update sources to sha215.
This commit is contained in:
Ralf Corsépius 2022-11-28 08:42:48 +01:00
parent a388643a84
commit 6dd4716398
2 changed files with 11 additions and 7 deletions

View File

@ -3,14 +3,13 @@
Name: perl-gettext
Version: 1.07
Release: 24%{?dist}
Release: 25%{?dist}
Summary: Interface to gettext family of functions
License: GPL+ or Artistic
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/gettext
Source0: https://cpan.metacpan.org/authors/id/P/PV/PVANDRY/%{tarname}-%{version}.tar.gz
BuildRequires: make
BuildRequires: gcc
BuildRequires: %{__make}
BuildRequires: %{__perl}
@ -49,12 +48,12 @@ internationalize software.
%setup -q -n %{tarname}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" NO_PACKLIST=1
%{__make} %{?_smp_mflags}
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
%{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
%{make_install}
%{_fixperms} $RPM_BUILD_ROOT/*
@ -70,6 +69,11 @@ internationalize software.
%changelog
* Mon Nov 28 2022 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.07-25
- Convert license to SPDX.
- Modernize spec.
- Update sources to sha215.
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.07-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1 +1 @@
bc652758af65c24500f1d06a77415019 Locale-gettext-1.07.tar.gz
SHA512 (Locale-gettext-1.07.tar.gz) = d3716a597d586ee2ff29472ca7b13aaf67770299de31e5f12abafebc879bbe4a1e1dbc0025cf4f3dc29992955f26cffc3be387d974c3911af095d5b49e67a1c6