Compare commits
No commits in common. "a89722479d7e4886b3d5c9f6d6412ca7c0627ac1" and "2faac0f823f78725320bf32222d5d76b2f02bfbd" have entirely different histories.
a89722479d
...
2faac0f823
Binary file not shown.
BIN
Class-Data-Inheritable-0.08-clean.tar.gz
Normal file
BIN
Class-Data-Inheritable-0.08-clean.tar.gz
Normal file
Binary file not shown.
@ -1,61 +0,0 @@
|
|||||||
%bcond_with perl_B_Keywords_enables_extra_test
|
|
||||||
Name: perl-B-Keywords
|
|
||||||
Version: 1.26
|
|
||||||
Release: 1
|
|
||||||
Summary: Lists of reserved barewords and symbol names
|
|
||||||
License: GPL+ or Artistic
|
|
||||||
URL: https://metacpan.org/release/B-Keywords
|
|
||||||
Source0: https://cpan.metacpan.org/modules/by-module/B/B-Keywords-%{version}.tar.gz
|
|
||||||
BuildArch: noarch
|
|
||||||
BuildRequires: coreutils findutils make perl-generators perl-interpreter perl(Config)
|
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker) perl(Exporter) perl(strict) perl(vars) perl-devel
|
|
||||||
BuildRequires: perl(File::Spec) perl(lib) perl(Test) perl(Test::More) perl(Test::Pod) >= 1.0
|
|
||||||
%if 0%{!?perl_bootstrap:1} && %{with perl_B_Keywords_enables_extra_test}
|
|
||||||
BuildRequires: perl(File::Copy) perl(Perl::MinimumVersion) >= 1.20
|
|
||||||
BuildRequires: perl(Test::CPAN::Meta) >= 0.12 perl(Test::Kwalitee)
|
|
||||||
BuildRequires: perl(Test::MinimumVersion) >= 0.008 perl(Test::More) >= 0.88
|
|
||||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.04 perl(warnings)
|
|
||||||
%endif
|
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
||||||
%description
|
|
||||||
Keyword provides an array of several exportable keywords
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n B-Keywords-%{version}
|
|
||||||
|
|
||||||
%build
|
|
||||||
perl Makefile.PL INSTALLDIRS=vendor
|
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
|
||||||
make pure_install DESTDIR=%{buildroot}
|
|
||||||
find %{buildroot} -type f -name .packlist -delete
|
|
||||||
%{_fixperms} -c %{buildroot}
|
|
||||||
|
|
||||||
%check
|
|
||||||
# TODO: Need somebody fix fail
|
|
||||||
%if 0%{!?perl_bootstrap:1} && %{with perl_B_Keywords_enables_extra_test}
|
|
||||||
echo make test IS_MAINTAINER=1 AUTHOR_TESTING=1
|
|
||||||
%else
|
|
||||||
echo make test
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files
|
|
||||||
%license LICENSE
|
|
||||||
%doc Changes
|
|
||||||
%{perl_vendorlib}/B/
|
|
||||||
%{_mandir}/man3/B::Keywords.3*
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Fri Jul 07 2023 leeffo <liweiganga@uniontech.com> - 1.26-1
|
|
||||||
- upgrade to version 1.26
|
|
||||||
|
|
||||||
* Tue Jun 14 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.24-1
|
|
||||||
- Upgrade to version 1.24
|
|
||||||
|
|
||||||
* Fri Jun 25 2021 Wenlong Ding <wenlong.ding@turbolinux.com.cn> 1.20-2
|
|
||||||
- Reformat spec file, replace '\r\n' to '\n'.
|
|
||||||
|
|
||||||
* Mon May 17 2021 Pengju Jiang <jiangpengju2@huawei.com> - 1.20-1
|
|
||||||
- package init
|
|
||||||
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
version_control: metacpan
|
|
||||||
src_repo: B-Keywords
|
|
||||||
tag_prefix: ^v
|
|
||||||
seperator: .
|
|
||||||
45
perl-Class-Data-Inheritable.spec
Normal file
45
perl-Class-Data-Inheritable.spec
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
%bcond_without perl_Class_Data_Inheritable_enables_optional_test
|
||||||
|
Name: perl-Class-Data-Inheritable
|
||||||
|
Version: 0.08
|
||||||
|
Release: 1
|
||||||
|
Summary: Inheritable, overridable class data
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
URL: https://metacpan.org/release/Class-Data-Inheritable
|
||||||
|
Source0: Class-Data-Inheritable-%{version}-clean.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: coreutils findutils make perl-generators perl-interpreter
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker) perl(Carp) perl(strict) perl(vars) perl(base)
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
%if %{with perl_Class_Data_Inheritable_enables_optional_test}
|
||||||
|
BuildRequires: perl(Test::Pod) >= 1.00 perl(Test::Pod::Coverage) >= 1.00
|
||||||
|
%endif
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) perl(Carp)
|
||||||
|
%description
|
||||||
|
Class::Data::Inheritable is for creating accessor/mutators to
|
||||||
|
class data. That is, if you want to store something about your
|
||||||
|
class as a whole (instead of about a single object). This data
|
||||||
|
is then inherited by your sub-classes and can be overridden.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n Class-Data-Inheritable-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
|
make
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
make pure_install DESTDIR=%{buildroot}
|
||||||
|
find %{buildroot} -type f -name .packlist -delete
|
||||||
|
%{_fixperms} %{buildroot}
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{perl_vendorlib}/Class/
|
||||||
|
%{_mandir}/man3/Class::Data::Inheritable.3pm*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri May 14 2021 xxxxxx <xxxxxx@huawei.com> - 0.08-1
|
||||||
|
- package init
|
||||||
Loading…
x
Reference in New Issue
Block a user