|
|
e757b89 |
Name: perl-IO-FDPass
|
|
|
c08042c |
Version: 1.2
|
|
|
4a4adb0 |
Release: 5%{?dist}
|
|
|
e757b89 |
Summary: Pass a file descriptor over a socket
|
|
|
e757b89 |
License: GPL+ or Artistic
|
|
|
e757b89 |
URL: http://search.cpan.org/dist/IO-FDPass/
|
|
|
e757b89 |
Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/IO-FDPass-%{version}.tar.gz
|
|
|
e757b89 |
# Module Build
|
|
|
e757b89 |
BuildRequires: coreutils
|
|
|
e757b89 |
BuildRequires: findutils
|
|
|
e757b89 |
BuildRequires: gcc
|
|
|
e757b89 |
BuildRequires: make
|
|
|
1f93957 |
BuildRequires: perl-interpreter
|
|
|
e757b89 |
BuildRequires: perl-devel
|
|
|
e757b89 |
BuildRequires: perl-generators
|
|
|
e757b89 |
BuildRequires: perl(Canary::Stability)
|
|
|
e757b89 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
e757b89 |
# Module Runtime
|
|
|
e757b89 |
BuildRequires: perl(XSLoader)
|
|
|
e757b89 |
# Test Suite
|
|
|
e757b89 |
BuildRequires: perl(Socket)
|
|
|
e757b89 |
# Dependencies
|
|
|
e757b89 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
e757b89 |
Requires: perl(XSLoader)
|
|
|
e757b89 |
|
|
|
e757b89 |
# Avoid provides from private shared objects
|
|
|
e757b89 |
%{?perl_default_filter}
|
|
|
e757b89 |
|
|
|
e757b89 |
%description
|
|
|
e757b89 |
This small low-level module only has one purpose: pass a file descriptor to
|
|
|
e757b89 |
another process, using a (streaming) UNIX domain socket (on POSIX systems) or
|
|
|
e757b89 |
any (streaming) socket (on WIN32 systems). The ability to pass file descriptors
|
|
|
e757b89 |
on Windows is currently the unique selling point of this module. Have I
|
|
|
e757b89 |
mentioned that it is really small, too?
|
|
|
e757b89 |
|
|
|
e757b89 |
%prep
|
|
|
e757b89 |
%setup -q -n IO-FDPass-%{version}
|
|
|
e757b89 |
|
|
|
e757b89 |
%build
|
|
|
e757b89 |
PERL_CANARY_STABILITY_NOPROMPT=1 perl Makefile.PL \
|
|
|
e757b89 |
INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
|
e757b89 |
make %{?_smp_mflags}
|
|
|
e757b89 |
|
|
|
e757b89 |
%install
|
|
|
e757b89 |
make pure_install DESTDIR=%{buildroot}
|
|
|
e757b89 |
find %{buildroot} -type f -name .packlist -delete
|
|
|
e757b89 |
find %{buildroot} -type f -name '*.bs' -empty -delete
|
|
|
e757b89 |
%{_fixperms} %{buildroot}
|
|
|
e757b89 |
|
|
|
e757b89 |
%check
|
|
|
e757b89 |
make test
|
|
|
e757b89 |
|
|
|
e757b89 |
%files
|
|
|
e757b89 |
%if 0%{?_licensedir:1}
|
|
|
e757b89 |
%license COPYING
|
|
|
e757b89 |
%else
|
|
|
e757b89 |
%doc COPYING
|
|
|
e757b89 |
%endif
|
|
|
e757b89 |
%doc Changes README
|
|
|
e757b89 |
%{perl_vendorarch}/auto/IO/
|
|
|
e757b89 |
%{perl_vendorarch}/IO/
|
|
|
e757b89 |
%{_mandir}/man3/IO::FDPass.3*
|
|
|
e757b89 |
|
|
|
e757b89 |
%changelog
|
|
|
4a4adb0 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-5
|
|
|
4a4adb0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
4a4adb0 |
|
|
|
2568770 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-4
|
|
|
2568770 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
2568770 |
|
|
|
9833f77 |
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.2-3
|
|
|
9833f77 |
- Perl 5.26 rebuild
|
|
|
9833f77 |
|
|
|
5c41eba |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-2
|
|
|
5c41eba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
5c41eba |
|
|
|
c08042c |
* Sun Sep 25 2016 Paul Howarth <paul@city-fan.org> - 1.2-1
|
|
|
c08042c |
- Update to 1.2
|
|
|
c08042c |
- Compatibility macros were still using C++ syntax, fortunately only
|
|
|
c08042c |
affecting the Solaris platform
|
|
|
c08042c |
|
|
|
e757b89 |
* Thu Sep 22 2016 Paul Howarth <paul@city-fan.org> - 1.1-3
|
|
|
e757b89 |
- Incorporate package review feedback (#1378014)
|
|
|
e757b89 |
- Silence rpmlint warning about capitalization of UNIX in %%description
|
|
|
e757b89 |
- Quieten interaction with Canary::Stability during build process
|
|
|
e757b89 |
|
|
|
e757b89 |
* Wed Sep 21 2016 Paul Howarth <paul@city-fan.org> - 1.1-2
|
|
|
e757b89 |
- Sanitize for Fedora submission
|
|
|
e757b89 |
|
|
|
e757b89 |
* Sat Sep 10 2016 Paul Howarth <paul@city-fan.org> - 1.1-1
|
|
|
e757b89 |
- Initial RPM build
|