Subpackage Class-Struct

This commit is contained in:
Petr Písař 2019-12-13 15:21:31 +01:00
parent c05f5f4c1e
commit a971e5716e
2 changed files with 39 additions and 3 deletions

View File

@ -90,6 +90,15 @@ Requires: perl(Cwd) \
Requires: perl(File::Spec) \ Requires: perl(File::Spec) \
Provides: perl(blib) = 1.07 \ Provides: perl(blib) = 1.07 \
%{nil} %{nil}
%global gendep_perl_Class_Struct \
Requires: perl(:VERSION) >= 5.6.0 \
Requires: perl(Carp) \
Requires: perl(Exporter) \
Requires: perl(strict) \
Requires: perl(warnings::register) \
Provides: perl(Class::Struct) = 0.65 \
Provides: perl(Class::Struct::Tie_ISA) \
%{nil}
%global gendep_perl_CPAN \ %global gendep_perl_CPAN \
Requires: perl(:VERSION) >= 5.6.0 \ Requires: perl(:VERSION) >= 5.6.0 \
Requires: perl(App::Cpan) \ Requires: perl(App::Cpan) \
@ -2059,8 +2068,6 @@ Requires: perl(threads) \
Requires: perl(threads::shared) \ Requires: perl(threads::shared) \
Requires: perl(warnings) \ Requires: perl(warnings) \
Requires: perl(warnings::register) \ Requires: perl(warnings::register) \
Provides: perl(Class::Struct) = 0.65 \
Provides: perl(Class::Struct::Tie_ISA) \
Provides: perl(Config) = 5.030000 \ Provides: perl(Config) = 5.030000 \
Provides: perl(Config::Extensions) = 0.03 \ Provides: perl(Config::Extensions) = 0.03 \
Provides: perl(DB) = 1.08 \ Provides: perl(DB) = 1.08 \

View File

@ -371,7 +371,8 @@ Requires: perl-AnyDBM_File,
Requires: perl-Archive-Tar, perl-Attribute-Handlers, perl-autodie, Requires: perl-Archive-Tar, perl-Attribute-Handlers, perl-autodie,
Requires: perl-AutoLoader, perl-AutoSplit, Requires: perl-AutoLoader, perl-AutoSplit,
Requires: perl-B, perl-base, perl-Benchmark, perl-bignum, perl-blib, Requires: perl-B, perl-base, perl-Benchmark, perl-bignum, perl-blib,
Requires: perl-Carp, perl-Compress-Raw-Bzip2, perl-Compress-Raw-Zlib, Requires: perl-Carp, perl-Class-Struct,
Requires: perl-Compress-Raw-Bzip2, perl-Compress-Raw-Zlib,
Requires: perl-Config-Perl-V, perl-constant, Requires: perl-Config-Perl-V, perl-constant,
Requires: perl-CPAN, perl-CPAN-Meta, perl-CPAN-Meta-Requirements, Requires: perl-CPAN, perl-CPAN-Meta, perl-CPAN-Meta-Requirements,
Requires: perl-CPAN-Meta-YAML, Requires: perl-CPAN-Meta-YAML,
@ -922,6 +923,23 @@ module was called. There is no guarantee that that is where the error was,
but it is a good educated guess. but it is a good educated guess.
%endif %endif
%package Class-Struct
Summary: Declare struct-like data types as Perl classes
License: GPL+ or Artistic
Epoch: 0
Version: 0.65
Requires: %perl_compat
%if %{defined perl_bootstrap}
%gendep_perl_Class_Struct
%endif
BuildArch: noarch
Conflicts: perl-interpreter < 4:5.30.1-451
%description Class-Struct
Class::Struct module exports a single function struct(). Given a list of
element names and types, and optionally a class name, struct() creates a
Perl 5 class that implements a struct-like data structure.
%if %{dual_life} || %{rebuild_from_scratch} %if %{dual_life} || %{rebuild_from_scratch}
%package Compress-Raw-Bzip2 %package Compress-Raw-Bzip2
Summary: Low-Level Interface to bzip2 compression library Summary: Low-Level Interface to bzip2 compression library
@ -4216,6 +4234,10 @@ popd
%exclude %{privlib}/Carp.* %exclude %{privlib}/Carp.*
%exclude %{_mandir}/man3/Carp.* %exclude %{_mandir}/man3/Carp.*
# Class-Struct
%exclude %{privlib}/Class
%exclude %{_mandir}/man3/Class::Struct.*
# Config-Perl-V # Config-Perl-V
%exclude %{privlib}/Config/Perl %exclude %{privlib}/Config/Perl
%exclude %{_mandir}/man3/Config::Perl::V.* %exclude %{_mandir}/man3/Config::Perl::V.*
@ -5337,7 +5359,13 @@ popd
%{privlib}/Carp %{privlib}/Carp
%{privlib}/Carp.* %{privlib}/Carp.*
%{_mandir}/man3/Carp.* %{_mandir}/man3/Carp.*
%endif
%files Class-Struct
%{privlib}/Class
%{_mandir}/man3/Class::Struct.*
%if %{dual_life} || %{rebuild_from_scratch}
%files Compress-Raw-Bzip2 %files Compress-Raw-Bzip2
%dir %{archlib}/Compress %dir %{archlib}/Compress
%dir %{archlib}/Compress/Raw %dir %{archlib}/Compress/Raw
@ -6548,6 +6576,7 @@ popd
- Subpackage blib - Subpackage blib
- Move charnames to perl-libs - Move charnames to perl-libs
- Subpackage File-stat - Subpackage File-stat
- Subpackage Class-Struct
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4:5.30.1-450 * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4:5.30.1-450
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild