Blame SPECS/perl-Socket.spec

1575c4
%{?scl:%scl_package perl-Socket}
1575c4
1575c4
Name:           %{?scl_prefix}perl-Socket
1575c4
Epoch:          4
1575c4
Version:        2.024
1575c4
Release:        6%{?dist}
1575c4
Summary:        Networking constants and support functions
1575c4
License:        GPL+ or Artistic
1575c4
Group:          Development/Libraries
1575c4
URL:            http://search.cpan.org/dist/Socket/
1575c4
Source0:        http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/Socket-%{version}.tar.gz
1575c4
BuildRequires:  coreutils
1575c4
BuildRequires:  findutils
1575c4
BuildRequires:  gcc
1575c4
BuildRequires:  make
1575c4
BuildRequires:  %{?scl_prefix}perl-interpreter
1575c4
BuildRequires:  %{?scl_prefix}perl-devel
1575c4
BuildRequires:  %{?scl_prefix}perl-generators
1575c4
BuildRequires:  %{?scl_prefix}perl(Config)
1575c4
BuildRequires:  %{?scl_prefix}perl(ExtUtils::CBuilder)
1575c4
BuildRequires:  %{?scl_prefix}perl(ExtUtils::Constant) >= 0.23
1575c4
# ExtUtils::Constant::ProxySubs not used
1575c4
BuildRequires:  %{?scl_prefix}perl(ExtUtils::MakeMaker)
1575c4
BuildRequires:  %{?scl_prefix}perl(strict)
1575c4
BuildRequires:  %{?scl_prefix}perl(warnings)
1575c4
# Run-time:
1575c4
BuildRequires:  %{?scl_prefix}perl(Carp)
1575c4
BuildRequires:  %{?scl_prefix}perl(Exporter)
1575c4
# Scalar::Util is needed only if getaddrinfo(3) does not exist. Not our case.
1575c4
BuildRequires:  %{?scl_prefix}perl(warnings::register)
1575c4
BuildRequires:  %{?scl_prefix}perl(XSLoader)
1575c4
# Tests only:
1575c4
BuildRequires:  %{?scl_prefix}perl(Errno)
1575c4
BuildRequires:  %{?scl_prefix}perl(Test::More)
1575c4
Requires:       %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
1575c4
1575c4
%{?perl_default_filter}
1575c4
1575c4
%description
1575c4
This module provides a variety of constants, structure manipulators and other
1575c4
functions related to socket-based networking. The values and functions
1575c4
provided are useful when used in conjunction with Perl core functions such as
1575c4
socket(), setsockopt() and bind(). It also provides several other support
1575c4
functions, mostly for dealing with conversions of network addresses between
1575c4
human-readable and native binary forms, and for hostname resolver operations.
1575c4
1575c4
%prep
1575c4
%setup -q -n Socket-%{version}
1575c4
1575c4
%build
1575c4
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" && make %{?_smp_mflags}%{?scl:'}
1575c4
1575c4
%install
1575c4
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'}
1575c4
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
1575c4
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
1575c4
%{_fixperms} $RPM_BUILD_ROOT/*
1575c4
1575c4
%check
1575c4
%{?scl:scl enable %{scl} '}make test%{?scl:'}
1575c4
1575c4
%files
1575c4
%doc Artistic Copying LICENSE
1575c4
%doc Changes
1575c4
%{perl_vendorarch}/auto/*
1575c4
%{perl_vendorarch}/Socket*
1575c4
%{_mandir}/man3/*
1575c4
1575c4
%changelog
1575c4
* Fri Dec 15 2017 Petr Pisar <ppisar@redhat.com> - 4:2.024-6
1575c4
- SCL
1575c4
1575c4
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4:2.024-5
1575c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
1575c4
1575c4
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4:2.024-4
1575c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1575c4
1575c4
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 4:2.024-3
1575c4
- Perl 5.26 rebuild
1575c4
1575c4
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4:2.024-2
1575c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1575c4
1575c4
* Fri Aug 12 2016 Jitka Plesnikova <jplesnik@redhat.com> - 4:2.024-1
1575c4
- 2.024 bump
1575c4
1575c4
* Thu Aug 04 2016 Jitka Plesnikova <jplesnik@redhat.com> - 4:2.023-1
1575c4
- 2.023 bump
1575c4
1575c4
* Tue Aug 02 2016 Jitka Plesnikova <jplesnik@redhat.com> - 4:2.022-1
1575c4
- 2.022 bump
1575c4
1575c4
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 4:2.021-3
1575c4
- Increase epoch to favour standalone package
1575c4
1575c4
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.021-2
1575c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1575c4
1575c4
* Thu Nov 19 2015 Petr Pisar <ppisar@redhat.com> - 3:2.021-1
1575c4
- 2.021 bump
1575c4
1575c4
* Thu Jun 25 2015 Petr Pisar <ppisar@redhat.com> - 3:2.020-1
1575c4
- 2.020 bump
1575c4
1575c4
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:2.019-3
1575c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1575c4
1575c4
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2:2.019-2
1575c4
- Perl 5.22 rebuild
1575c4
- Increase Epoch to favour standalone package
1575c4
1575c4
* Thu Apr 30 2015 Petr Pisar <ppisar@redhat.com> - 2:2.019-1
1575c4
- 2.019 bump
1575c4
1575c4
* Fri Feb 13 2015 Petr Pisar <ppisar@redhat.com> - 2:2.018-1
1575c4
- 2.018 bump
1575c4
1575c4
* Wed Feb 11 2015 Petr Pisar <ppisar@redhat.com> - 2:2.017-1
1575c4
- 2.017 bump
1575c4
1575c4
* Thu Oct 09 2014 Petr Pisar <ppisar@redhat.com> - 2:2.016-1
1575c4
- 2.016 bump
1575c4
1575c4
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2:2.015-3
1575c4
- Increase Epoch to favour standalone package
1575c4
1575c4
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.015-2
1575c4
- Perl 5.20 rebuild
1575c4
1575c4
* Mon Aug 18 2014 Petr Pisar <ppisar@redhat.com> - 1:2.015-1
1575c4
- 0.15 bump
1575c4
1575c4
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.014-3
1575c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
1575c4
1575c4
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.014-2
1575c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1575c4
1575c4
* Mon Jun 02 2014 Petr Pisar <ppisar@redhat.com> - 1:2.014-1
1575c4
- 2.014 bump
1575c4
1575c4
* Tue Oct 29 2013 Petr Pisar <ppisar@redhat.com> - 1:2.013-1
1575c4
- 2.013 bump
1575c4
1575c4
* Tue Sep 10 2013 Petr Pisar <ppisar@redhat.com> - 1:2.012-1
1575c4
- 2.012 bump
1575c4
1575c4
* Tue Aug 06 2013 Petr Pisar <ppisar@redhat.com> - 1:2.011-1
1575c4
- 2.011 bump
1575c4
1575c4
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.010-4
1575c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1575c4
1575c4
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:2.010-3
1575c4
- Link minimal build-root packages against libperl.so explicitly
1575c4
1575c4
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:2.010-2
1575c4
- Perl 5.18 rebuild
1575c4
1575c4
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:2.010-1
1575c4
- Increase epoch to compete with perl.spec
1575c4
1575c4
* Tue Jun 25 2013 Petr Pisar <ppisar@redhat.com> - 2.010-1
1575c4
- 2.010 bump
1575c4
1575c4
* Fri May 24 2013 Petr Pisar <ppisar@redhat.com> - 2.009-3
1575c4
- Specify all dependencies
1575c4
1575c4
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.009-2
1575c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1575c4
1575c4
* Mon Jan 21 2013 Petr Pisar <ppisar@redhat.com> - 2.009-1
1575c4
- 2.009 bump
1575c4
1575c4
* Thu Jan 03 2013 Petr Pisar <ppisar@redhat.com> - 2.008-1
1575c4
- 2.008 bump
1575c4
1575c4
* Mon Dec 17 2012 Petr Pisar <ppisar@redhat.com> - 2.007-1
1575c4
- 2.007 bump
1575c4
1575c4
* Thu Nov 08 2012 Petr Pisar <ppisar@redhat.com> - 2.006-2
1575c4
- Update description
1575c4
1575c4
* Mon Aug 20 2012 Petr Pisar <ppisar@redhat.com> - 2.006-1
1575c4
- 2.006 bump
1575c4
1575c4
* Fri Aug 17 2012 Petr Pisar <ppisar@redhat.com> - 2.005-1
1575c4
- 2.005 bump
1575c4
1575c4
* Thu Aug 16 2012 Petr Pisar <ppisar@redhat.com> - 2.004-1
1575c4
- 2.004 bump
1575c4
1575c4
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.002-3
1575c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1575c4
1575c4
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 2.002-2
1575c4
- Perl 5.16 rebuild
1575c4
1575c4
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 2.002-1
1575c4
- 2.002 bump
1575c4
1575c4
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 2.001-2
1575c4
- Perl 5.16 rebuild
1575c4
1575c4
* Wed Mar 28 2012 Petr Pisar <ppisar@redhat.com> - 2.001-1
1575c4
- 2.001 bump (bug-fixing release)
1575c4
1575c4
* Tue Mar 27 2012 Petr Pisar <ppisar@redhat.com> - 2.000-3
1575c4
- Fix invalid write while unpacking AF_UNIX sockaddr (bug #806543)
1575c4
1575c4
* Mon Mar 19 2012 Petr Pisar <ppisar@redhat.com> - 2.000-2
1575c4
- Increase release number due to F17 build
1575c4
1575c4
* Wed Mar 14 2012 Petr Pisar <ppisar@redhat.com> - 2.000-1
1575c4
- 2.000 bump
1575c4
- Fix a buffer overflow (RT#75623)
1575c4
1575c4
* Wed Feb 22 2012 Petr Pisar <ppisar@redhat.com> - 1.99-1
1575c4
- 1.99 bump
1575c4
1575c4
* Thu Feb 16 2012 Petr Pisar <ppisar@redhat.com> - 1.98-1
1575c4
- 1.98 bump
1575c4
1575c4
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.97-2
1575c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1575c4
1575c4
* Mon Dec 19 2011 Petr Pisar <ppisar@redhat.com> - 1.97-1
1575c4
- 1.97 bump
1575c4
- License texts added
1575c4
1575c4
* Mon Dec 12 2011 Petr Pisar <ppisar@redhat.com> - 1.96-1
1575c4
- 1.96 bump
1575c4
1575c4
* Fri Dec 02 2011 Petr Pisar <ppisar@redhat.com> - 1.95-1
1575c4
- 1.95 bump
1575c4
1575c4
* Wed Nov 23 2011 Petr Pisar <ppisar@redhat.com> 1.94.07-1
1575c4
- 1.94_07 packaged.