Disable optional run-requires for build
This commit is contained in:
parent
490a8d9321
commit
1c2255d1c0
@ -1,6 +1,6 @@
|
||||
Name: perl-Net-Server
|
||||
Version: 2.009
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
Summary: Extensible, general Perl server engine
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Net-Server
|
||||
@ -9,7 +9,6 @@ Source0: https://cpan.metacpan.org/modules/by-module/Net/Net-Server-%{ver
|
||||
Patch0: Net-Server-2.009-Generate-2048-bit-keys-for-tests.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
@ -39,7 +38,7 @@ BuildRequires: perl(IO::Socket::UNIX)
|
||||
# BuildRequires: perl(IPC::Open3)
|
||||
# BuildRequires: perl(IPC::Semaphore)
|
||||
# BuildRequires: perl(IPC::SysV)
|
||||
BuildRequires: perl(Log::Log4perl)
|
||||
# BuildRequires: perl(Log::Log4perl)
|
||||
# BuildRequires: perl(Net::CIDR)
|
||||
BuildRequires: perl(Net::SSLeay)
|
||||
BuildRequires: perl(POSIX)
|
||||
@ -79,11 +78,11 @@ be the back end layer of internet protocol servers.
|
||||
chmod -c 644 examples/*
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
%{make_build}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
%{make_install}
|
||||
%{_fixperms} $RPM_BUILD_ROOT
|
||||
|
||||
%check
|
||||
@ -98,6 +97,9 @@ make test
|
||||
%{_mandir}/man1/net-server.1*
|
||||
|
||||
%changelog
|
||||
* Tue Dec 01 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.009-11
|
||||
- Disable optional run-requires for build
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.009-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user