-
Notifications
You must be signed in to change notification settings - Fork 564
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perl-Object-HashBase: Update Version from 0.009 -> 0.013
- Loading branch information
1 parent
81fb40a
commit 04db98c
Showing
3 changed files
with
94 additions
and
17 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
SPECS-EXTENDED/perl-Object-HashBase/perl-Object-HashBase.signatures.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"Signatures": { | ||
"perl-Object-HashBase-0.009.tar.gz": "9532addbd00e596e75e2b8d7fc23e7f61f0129221279f6a4b43714dce3e4a93c" | ||
"Object-HashBase-0.013.tar.gz": "bc61a99c8cdfad825b9aab4440f207900f2b5ad09e379405764d6a17224b514c" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
Vendor: Microsoft Corporation | ||
Distribution: Azure Linux | ||
Name: perl-Object-HashBase | ||
Version: 0.009 | ||
Version: 0.013 | ||
Release: 3%{?dist} | ||
Summary: Build hash-based classes | ||
License: GPL+ or Artistic | ||
Vendor: Microsoft Corporation | ||
Distribution: Azure Linux | ||
License: GPL-1.0-or-later OR Artistic-1.0-Perl | ||
URL: https://metacpan.org/release/Object-HashBase | ||
Source0: https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Object-HashBase-%{version}.tar.gz#/perl-Object-HashBase-%{version}.tar.gz | ||
Source0: https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Object-HashBase-%{version}.tar.gz | ||
# Correct shebangs | ||
Patch0: Object-HashBase-0.008-Normalize-shebang.patch | ||
BuildArch: noarch | ||
|
@@ -24,12 +24,13 @@ BuildRequires: perl(Test::More) >= 0.98 | |
BuildRequires: perl(vars) | ||
# Tests: | ||
BuildRequires: perl(File::Temp) | ||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) | ||
Suggests: perl(Class::XSAccessor) | ||
|
||
# Remove under-specified dependenices | ||
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Test::More\\)$ | ||
# Remove private modules | ||
%global __requires_exclude %{__requires_exclude}|^perl\\(Object::HashBase::Test::HBase.* | ||
%global __requires_exclude %{__requires_exclude}|^perl\\(My::Prefix::HashBase\\)$ | ||
|
||
%description | ||
This package is used to generate classes based on hash references. Using this | ||
|
@@ -39,10 +40,18 @@ be generated for you. You also get constants for each accessor (all caps) | |
which return the key into the hash for that accessor. Single inheritance is | ||
also supported. | ||
|
||
%package tests | ||
Summary: Tests for %{name} | ||
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} | ||
Requires: perl-Test-Harness | ||
|
||
%description tests | ||
Tests from %{name}. Execute them | ||
with "%{_libexecdir}/%{name}/test". | ||
|
||
%package tools | ||
Summary: Generate inlined Object::HashBase Perl module | ||
Requires: %{name} = %{version}-%{release} | ||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) | ||
Requires: perl(Test::More) >= 0.98 | ||
|
||
%description tools | ||
|
@@ -52,15 +61,28 @@ also generate the tests for it. | |
|
||
%prep | ||
%setup -q -n Object-HashBase-%{version} | ||
%patch 0 -p1 | ||
%patch -P0 -p1 | ||
# Help generators to recognize Perl scripts | ||
for F in t/*.t; do | ||
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' "$F" | ||
chmod +x "$F" | ||
done | ||
|
||
%build | ||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 | ||
%{make_build} | ||
|
||
%install | ||
%{make_install} | ||
%{_fixperms} $RPM_BUILD_ROOT/* | ||
# Install tests | ||
mkdir -p %{buildroot}%{_libexecdir}/%{name} | ||
cp -a t %{buildroot}%{_libexecdir}/%{name} | ||
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF' | ||
#!/bin/sh | ||
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)" | ||
EOF | ||
chmod +x %{buildroot}%{_libexecdir}/%{name}/test | ||
%{_fixperms} %{buildroot}/* | ||
|
||
%check | ||
make test | ||
|
@@ -71,16 +93,71 @@ make test | |
%{perl_vendorlib}/* | ||
%exclude %{perl_vendorlib}/Object/HashBase | ||
%{_mandir}/man3/* | ||
%exclude %{_mandir}/man3/Object::HashBase::* | ||
|
||
%files tests | ||
%{_libexecdir}/%{name} | ||
|
||
%files tools | ||
%{_bindir}/hashbase_inc.pl | ||
%{perl_vendorlib}/Object/HashBase | ||
%{_mandir}/man3/Object::HashBase::* | ||
|
||
%changelog | ||
* Fri Oct 15 2021 Pawel Winogrodzki <[email protected]> - 0.009-3 | ||
- Initial CBL-Mariner import from Fedora 32 (license: MIT). | ||
* Wed Dec 18 2024 Sreenivasulu Malavathula <[email protected]> - 0.013-3 | ||
- Initial Azure Linux import from Fedora 41 (license: MIT) | ||
- License verified | ||
|
||
* Fri Jul 19 2024 Fedora Release Engineering <[email protected]> - 0.013-2 | ||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild | ||
|
||
* Fri Mar 22 2024 Michal Josef Špaček <[email protected]> - 0.013-1 | ||
- 0.013 bump | ||
|
||
* Thu Mar 21 2024 Michal Josef Špaček <[email protected]> - 0.012-1 | ||
- 0.012 bump | ||
|
||
* Thu Jan 25 2024 Fedora Release Engineering <[email protected]> - 0.010-3 | ||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild | ||
|
||
* Sun Jan 21 2024 Fedora Release Engineering <[email protected]> - 0.010-2 | ||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild | ||
|
||
* Mon Oct 23 2023 Michal Josef Špaček <[email protected]> - 0.010-1 | ||
- 0.010 bump | ||
- Update %patch macro usage | ||
|
||
* Fri Jul 21 2023 Fedora Release Engineering <[email protected]> - 0.009-13 | ||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild | ||
|
||
* Fri Jan 20 2023 Fedora Release Engineering <[email protected]> - 0.009-12 | ||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild | ||
|
||
* Mon Dec 12 2022 Michal Josef Špaček <[email protected]> - 0.009-11 | ||
- Package tests | ||
- Update license to SPDX format | ||
|
||
* Fri Jul 22 2022 Fedora Release Engineering <[email protected]> - 0.009-10 | ||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild | ||
|
||
* Mon May 30 2022 Jitka Plesnikova <[email protected]> - 0.009-9 | ||
- Perl 5.36 rebuild | ||
|
||
* Fri Jan 21 2022 Fedora Release Engineering <[email protected]> - 0.009-8 | ||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild | ||
|
||
* Thu Jul 22 2021 Fedora Release Engineering <[email protected]> - 0.009-7 | ||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild | ||
|
||
* Fri May 21 2021 Jitka Plesnikova <[email protected]> - 0.009-6 | ||
- Perl 5.34 rebuild | ||
|
||
* Wed Jan 27 2021 Fedora Release Engineering <[email protected]> - 0.009-5 | ||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild | ||
|
||
* Tue Jul 28 2020 Fedora Release Engineering <[email protected]> - 0.009-4 | ||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild | ||
|
||
* Mon Jun 22 2020 Jitka Plesnikova <[email protected]> - 0.009-3 | ||
- Perl 5.32 rebuild | ||
|
||
* Thu Jan 30 2020 Fedora Release Engineering <[email protected]> - 0.009-2 | ||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters