Create sub-package for PathTools (Cwd) rhbz#680923.

Revert previous commit with Path-Tools.
This commit is contained in:
Marcela Mašláňová 2011-03-15 18:02:00 +01:00
parent 5e61ede315
commit a803d531fa

View File

@ -21,7 +21,7 @@
Name: perl Name: perl
Version: %{perl_version} Version: %{perl_version}
# release number must be even higher, becase dual-lived modules will be broken otherwise # release number must be even higher, becase dual-lived modules will be broken otherwise
Release: 155%{?dist} Release: 156%{?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
@ -661,14 +661,15 @@ can be useful for, among others, setting up an autogenerated @EXPORT/@EXPORT_OK
for a Constants.pm file. for a Constants.pm file.
%package Path-Tools %package PathTools
Summary: PathTools Perl module (Cwd, File::Spec) Summary: PathTools Perl module (Cwd, File::Spec)
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: (GPL+ or Artistic) and BSD
Epoch: 0
Version: 3.31 Version: 3.31
Requires: perl = %{perl_epoch}:%{perl_version}-%{release} Requires: perl = %{perl_epoch}:%{perl_version}-%{release}
%description Path-Tools %description PathTools
PathTools Perl module (Cwd, File::Spec). PathTools Perl module (Cwd, File::Spec).
@ -922,9 +923,9 @@ Requires: perl-File-Fetch, perl-IO-Compress, perl-IO-Zlib,
Requires: perl-IPC-Cmd, perl-Locale-Maketext-Simple, perl-Log-Message, perl-Log-Message-Simple, Requires: perl-IPC-Cmd, perl-Locale-Maketext-Simple, perl-Log-Message, perl-Log-Message-Simple,
Requires: perl-Module-Build, perl-Module-CoreList, perl-Module-Load, Requires: perl-Module-Build, perl-Module-CoreList, perl-Module-Load,
Requires: perl-Module-Load-Conditional, perl-Module-Loaded, Requires: perl-Module-Load-Conditional, perl-Module-Loaded,
Requires: perl-Module-Pluggable, perl-Object-Accessor, perl-Package-Constants, perl-Path-Tools Requires: perl-Module-Pluggable, perl-Object-Accessor, perl-Package-Constants, perl-PathTools
Requires: perl-Params-Check, perl-Pod-Escapes, perl-Pod-Simple, perl-Scalar-List-Utils Requires: perl-Params-Check, perl-Pod-Escapes, perl-Pod-Simple, perl-Term-UI,
Requires: perl-Term-UI, perl-Test-Harness, perl-Test-Simple, perl-Time-Piece, perl-version Requires: perl-Test-Harness, perl-Test-Simple, perl-Time-Piece, perl-version
Requires: perl-threads, perl-threads-shared, perl-parent, perl-Parse-CPAN-Meta Requires: perl-threads, perl-threads-shared, perl-parent, perl-Parse-CPAN-Meta
%description core %description core
@ -1482,12 +1483,10 @@ rm -rf $RPM_BUILD_ROOT
%exclude %{privlib}/Package/ %exclude %{privlib}/Package/
%exclude %{_mandir}/man3/Package::Constants* %exclude %{_mandir}/man3/Package::Constants*
# Path-Tools # PathTools
%exclude %{archlib}/auto/Cwd/Cwd.so
%exclude %{archlib}/Cwd.pm %exclude %{archlib}/Cwd.pm
%exclude %{archlib}/File/Spec/* %exclude %{archlib}/File/Spec*
%exclude %{archlib}/File/Spec.pm %exclude %{_mandir}/man3/Cwd*
%exclude %{_mandir}/man3/Cwd.3pm*
%exclude %{_mandir}/man3/File::Spec* %exclude %{_mandir}/man3/File::Spec*
# Params-Check # Params-Check
@ -1846,13 +1845,11 @@ rm -rf $RPM_BUILD_ROOT
%{privlib}/Package/ %{privlib}/Package/
%{_mandir}/man3/Package::Constants* %{_mandir}/man3/Package::Constants*
%files Path-Tools %files PathTools
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{archlib}/auto/Cwd/Cwd.so
%{archlib}/Cwd.pm %{archlib}/Cwd.pm
%{archlib}/File/Spec/* %{archlib}/File/Spec*
%{archlib}/File/Spec.pm %{_mandir}/man3/Cwd*
%{_mandir}/man3/Cwd.3pm*
%{_mandir}/man3/File::Spec* %{_mandir}/man3/File::Spec*
%files Params-Check %files Params-Check
@ -1965,7 +1962,7 @@ rm -rf $RPM_BUILD_ROOT
# Old changelog entries are preserved in CVS. # Old changelog entries are preserved in CVS.
%changelog %changelog
* Tue Mar 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4:5.12.3-155 * Tue Mar 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4:5.12.3-156
- sub-package Path-Tools - sub-package Path-Tools
* Sat Feb 19 2011 Iain Arnell <iarnell@gmail.com> 4:5.12.3-154 * Sat Feb 19 2011 Iain Arnell <iarnell@gmail.com> 4:5.12.3-154