|
|
|
@ -2,17 +2,19 @@
|
|
|
|
|
%global __requires_exclude MsgHdr.so
|
|
|
|
|
|
|
|
|
|
Name: perl-Socket-MsgHdr
|
|
|
|
|
Version: 0.04
|
|
|
|
|
Release: 19%{?dist}
|
|
|
|
|
Version: 0.05
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Sendmsg, recvmsg and ancillary data operations
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
|
|
URL: https://metacpan.org/release/Socket-MsgHdr
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/M/MJ/MJP/Socket-MsgHdr-%{version}.tar.gz
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/F/FE/FELIPE/Socket-MsgHdr-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
@ -33,15 +35,11 @@ parameters, instead stuffing a lot of information into a complex structure.
|
|
|
|
|
%setup -q -n Socket-MsgHdr-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" NO_PACKLIST=1
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
|
|
|
|
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -49,11 +47,15 @@ make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc Changes README
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{perl_vendorarch}/auto/*
|
|
|
|
|
%{perl_vendorarch}/Socket*
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Dec 09 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 0.05-1
|
|
|
|
|
- Update to 0.05
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.04-19
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|