3.12 bump; License in libnetFAQ was fixed

This commit is contained in:
Jitka Plesnikova 2020-12-09 13:19:03 +01:00
parent 0a4e3a489d
commit b1ccc7043a
3 changed files with 11 additions and 20 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@
/libnet-3.10_repackaged.tar.gz /libnet-3.10_repackaged.tar.gz
/libnetFAQ.pod /libnetFAQ.pod
/libnet-3.11_repackaged.tar.gz /libnet-3.11_repackaged.tar.gz
/libnet-3.12.tar.gz

View File

@ -10,22 +10,12 @@
%bcond_without perl_libnet_enables_ssl %bcond_without perl_libnet_enables_ssl
Name: perl-libnet Name: perl-libnet
Version: 3.11 Version: 3.12
Release: 458%{?dist} Release: 1%{?dist}
Summary: Perl clients for various network protocols Summary: Perl clients for various network protocols
# other files: GPL+ or Artistic
## Not in binary packages
# repackage.sh: GPLv2+
## Removed from upstream sources:
# lib/Net/libnetFAQ.pod: Artistic (CPAN RT#117888)
License: GPL+ or Artistic License: GPL+ or Artistic
URL: https://metacpan.org/release/libnet URL: https://metacpan.org/release/libnet
# Origin source archive contains Artistic only files, CPAN RT#117888. Source0: https://cpan.metacpan.org/authors/id/S/SH/SHAY/libnet-%{version}.tar.gz
# Local archive produced by "./repackage.sh %%{version}" command.
# http://www.cpan.org/authors/id/S/SH/SHAY/libnet-%%{version}.tar.gz
Source0: libnet-%{version}_repackaged.tar.gz
# Replacement for the Artistic only file, CPAN RT#117888.
Source1: libnetFAQ.pod
# Convert Changes to UTF-8 # Convert Changes to UTF-8
Patch0: libnet-3.09-Normalize-Changes-encoding.patch Patch0: libnet-3.09-Normalize-Changes-encoding.patch
# Do not create Net/libnet.cfg, bug #1238689 # Do not create Net/libnet.cfg, bug #1238689
@ -114,17 +104,15 @@ protocols used in the internet community.
%prep %prep
%setup -q -n libnet-%{version} %setup -q -n libnet-%{version}
# Provide dummy Net::libnetFAQ document, CPAN RT#117888
install -m 0644 %{SOURCE1} lib/Net
%patch0 -p1 %patch0 -p1
%patch1 -p1 %patch1 -p1
%build %build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 </dev/null perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 </dev/null
make %{?_smp_mflags} %{make_build}
%install %install
make pure_install DESTDIR=$RPM_BUILD_ROOT %{make_install}
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} $RPM_BUILD_ROOT/*
%check %check
@ -137,6 +125,9 @@ make test
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Wed Dec 09 2020 Jitka Plesnikova <jplesnik@redhat.com> - 3.12-1
- 3.12 bump
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.11-458 * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.11-458
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

View File

@ -1,2 +1 @@
SHA512 (libnetFAQ.pod) = 234082350814967ac3bfc0e4c57e53f7473be69f6cc9618cef061aaaaaddfaaf0e1542d38e7775c2fc78fc16d92e45b30ccb48c07d118a0a4b5e1c90d030c42f SHA512 (libnet-3.12.tar.gz) = a4727dd666273e024e4efc81d3189fbfd3a1fbe4c39d9f29eb2afb697cd679a33697fb123e7cc600ea7e47b12adc99082b1cf1d4fa717431598beafe985203b3
SHA512 (libnet-3.11_repackaged.tar.gz) = 77f88f84d8669179c5a70a147822ae09b9a1f94f13c7df0a78d713d65754862cb9fdae41aa632885449b93adaf674990da65b8558a9ef116e5d5c2870be09100