Move perl(:MODULE_COMPAT_*) symbol and include directories to perl-libs
Move license and documentation to perl-libs. perl-libs is now the base package which everbody needs.
This commit is contained in:
parent
d0d9aabf0d
commit
a14dcbc31c
55
perl.spec
55
perl.spec
|
@ -30,7 +30,7 @@
|
||||||
Name: perl
|
Name: perl
|
||||||
Version: %{perl_version}
|
Version: %{perl_version}
|
||||||
# release number must be even higher, because dual-lived modules will be broken otherwise
|
# release number must be even higher, because dual-lived modules will be broken otherwise
|
||||||
Release: 322%{?dist}
|
Release: 323%{?dist}
|
||||||
Epoch: %{perl_epoch}
|
Epoch: %{perl_epoch}
|
||||||
Summary: Practical Extraction and Report Language
|
Summary: Practical Extraction and Report Language
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
|
@ -140,18 +140,6 @@ BuildRequires: procps, rsyslog
|
||||||
# compat macro needed for rebuild
|
# compat macro needed for rebuild
|
||||||
%global perl_compat perl(:MODULE_COMPAT_5.20.2)
|
%global perl_compat perl(:MODULE_COMPAT_5.20.2)
|
||||||
|
|
||||||
# Compat provides
|
|
||||||
Provides: %perl_compat
|
|
||||||
Provides: perl(:MODULE_COMPAT_5.20.1)
|
|
||||||
Provides: perl(:MODULE_COMPAT_5.20.0)
|
|
||||||
|
|
||||||
# Threading provides
|
|
||||||
Provides: perl(:WITH_ITHREADS)
|
|
||||||
Provides: perl(:WITH_THREADS)
|
|
||||||
# Largefile provides
|
|
||||||
Provides: perl(:WITH_LARGEFILES)
|
|
||||||
# PerlIO provides
|
|
||||||
Provides: perl(:WITH_PERLIO)
|
|
||||||
# File provides
|
# File provides
|
||||||
Provides: perl(bytes_heavy.pl)
|
Provides: perl(bytes_heavy.pl)
|
||||||
Provides: perl(dumpvar.pl)
|
Provides: perl(dumpvar.pl)
|
||||||
|
@ -162,6 +150,8 @@ Provides: perl(utf8_heavy.pl)
|
||||||
Obsoletes: perl-suidperl <= 4:5.12.2
|
Obsoletes: perl-suidperl <= 4:5.12.2
|
||||||
|
|
||||||
Requires: perl-libs = %{perl_epoch}:%{perl_version}-%{release}
|
Requires: perl-libs = %{perl_epoch}:%{perl_version}-%{release}
|
||||||
|
# Require this till perl sub-package requires any modules
|
||||||
|
Requires: %perl_compat
|
||||||
|
|
||||||
# We need this to break the dependency loop, and ensure that perl-libs
|
# We need this to break the dependency loop, and ensure that perl-libs
|
||||||
# gets installed before perl.
|
# gets installed before perl.
|
||||||
|
@ -185,13 +175,24 @@ Install this package if you want to program in Perl or enable your system to
|
||||||
handle Perl scripts.
|
handle Perl scripts.
|
||||||
|
|
||||||
%package libs
|
%package libs
|
||||||
Summary: The libraries for the perl runtime
|
Summary: The libraries for the perl run-time
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Requires: %perl_compat
|
# Compat provides
|
||||||
|
Provides: %perl_compat
|
||||||
|
Provides: perl(:MODULE_COMPAT_5.20.1)
|
||||||
|
Provides: perl(:MODULE_COMPAT_5.20.0)
|
||||||
|
# Threading provides
|
||||||
|
Provides: perl(:WITH_ITHREADS)
|
||||||
|
Provides: perl(:WITH_THREADS)
|
||||||
|
# Largefile provides
|
||||||
|
Provides: perl(:WITH_LARGEFILES)
|
||||||
|
# PerlIO provides
|
||||||
|
Provides: perl(:WITH_PERLIO)
|
||||||
|
|
||||||
%description libs
|
%description libs
|
||||||
The libraries for the perl runtime
|
The is a perl run-time (interpreter as a shared library and include
|
||||||
|
directories).
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
|
@ -2295,20 +2296,23 @@ sed \
|
||||||
%postun libs -p /sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc Artistic AUTHORS Copying README Changes
|
|
||||||
%{_mandir}/man1/*.1*
|
%{_mandir}/man1/*.1*
|
||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{privlib}
|
|
||||||
%{archlib}/*
|
%{archlib}/*
|
||||||
%{perl_vendorlib}
|
%{privlib}/*
|
||||||
|
|
||||||
|
|
||||||
# libs
|
# libs
|
||||||
|
%exclude %dir %{archlib}
|
||||||
|
%exclude %dir %{archlib}/auto
|
||||||
%exclude %dir %{archlib}/CORE
|
%exclude %dir %{archlib}/CORE
|
||||||
%exclude %{archlib}/CORE/libperl.so
|
%exclude %{archlib}/CORE/libperl.so
|
||||||
%exclude %{_libdir}/libperl.so.*
|
%exclude %{_libdir}/libperl.so.*
|
||||||
%exclude %{perl_vendorarch}
|
%exclude %dir %{perl_vendorarch}
|
||||||
|
%exclude %dir %{perl_vendorarch}/auto
|
||||||
|
%exclude %dir %{privlib}
|
||||||
|
%exclude %dir %{perl_vendorlib}
|
||||||
|
|
||||||
# devel
|
# devel
|
||||||
%exclude %{_bindir}/h2xs
|
%exclude %{_bindir}/h2xs
|
||||||
|
@ -2972,12 +2976,17 @@ sed \
|
||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%license Artistic Copying
|
||||||
|
%doc AUTHORS README Changes
|
||||||
|
%dir %{archlib}
|
||||||
|
%dir %{archlib}/auto
|
||||||
%dir %{archlib}/CORE
|
%dir %{archlib}/CORE
|
||||||
%{archlib}/CORE/libperl.so
|
%{archlib}/CORE/libperl.so
|
||||||
%{_libdir}/libperl.so.*
|
%{_libdir}/libperl.so.*
|
||||||
%dir %{archlib}
|
|
||||||
%dir %{perl_vendorarch}
|
%dir %{perl_vendorarch}
|
||||||
%dir %{perl_vendorarch}/auto
|
%dir %{perl_vendorarch}/auto
|
||||||
|
%dir %{privlib}
|
||||||
|
%dir %{perl_vendorlib}
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_bindir}/h2xs
|
%{_bindir}/h2xs
|
||||||
|
@ -3832,6 +3841,10 @@ sed \
|
||||||
|
|
||||||
# Old changelog entries are preserved in CVS.
|
# Old changelog entries are preserved in CVS.
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 16 2015 Petr Pisar <ppisar@redhat.com> - 4:5.20.2-323
|
||||||
|
- Move perl(:MODULE_COMPAT_*) symbol and include directories to perl-libs
|
||||||
|
package (bug #1174951)
|
||||||
|
|
||||||
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 4:5.20.2-322
|
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 4:5.20.2-322
|
||||||
- Rebuilt for Fedora 23 Change
|
- Rebuilt for Fedora 23 Change
|
||||||
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
|
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
|
||||||
|
|
Loading…
Reference in New Issue