Compare commits
No commits in common. "c8" and "c10s" have entirely different histories.
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
||||||
5
.gitignore
vendored
5
.gitignore
vendored
@ -1 +1,4 @@
|
|||||||
SOURCES/Bit-Vector-7.4.tar.gz
|
Bit-Vector-7.1.tar.gz
|
||||||
|
/Bit-Vector-7.2.tar.gz
|
||||||
|
/Bit-Vector-7.3.tar.gz
|
||||||
|
/Bit-Vector-7.4.tar.gz
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
18bc47c97e5299e368acff76c59aa8636ae0f955 SOURCES/Bit-Vector-7.4.tar.gz
|
|
||||||
15
gating.yaml
Normal file
15
gating.yaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- fedora-*
|
||||||
|
decision_context: bodhi_update_push_stable
|
||||||
|
subject_type: koji_build
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
||||||
|
|
||||||
|
# RHEL
|
||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-*
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||||
@ -1,13 +1,13 @@
|
|||||||
Name: perl-Bit-Vector
|
Name: perl-Bit-Vector
|
||||||
Version: 7.4
|
Version: 7.4
|
||||||
Release: 11%{?dist}
|
Release: 36%{?dist}
|
||||||
Summary: Efficient bit vector, set of integers and "big int" math library
|
Summary: Efficient bit vector, set of integers and "big int" math library
|
||||||
Group: Development/Libraries
|
|
||||||
# Outdated FSF address reported, rt#85827
|
# Outdated FSF address reported, rt#85827
|
||||||
# Clarified by a private mail from the author:
|
# Clarified by a private mail from the author:
|
||||||
License: (GPLv2+ or Artistic) and LGPLv2+
|
License: ( GPL-2.0-or-later OR Artistic-1.0-Perl ) AND LGPL-2.0-or-later
|
||||||
URL: http://search.cpan.org/dist/Bit-Vector/
|
URL: https://metacpan.org/release/Bit-Vector
|
||||||
Source0: http://www.cpan.org/authors/id/S/ST/STBEY/Bit-Vector-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/S/ST/STBEY/Bit-Vector-%{version}.tar.gz
|
||||||
|
BuildRequires: coreutils
|
||||||
BuildRequires: findutils
|
BuildRequires: findutils
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
@ -18,13 +18,12 @@ BuildRequires: perl(Carp::Clan) >= 5.3
|
|||||||
BuildRequires: perl(Config)
|
BuildRequires: perl(Config)
|
||||||
BuildRequires: perl(DynaLoader)
|
BuildRequires: perl(DynaLoader)
|
||||||
BuildRequires: perl(Exporter)
|
BuildRequires: perl(Exporter)
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||||
BuildRequires: perl(integer)
|
BuildRequires: perl(integer)
|
||||||
BuildRequires: perl(overload)
|
BuildRequires: perl(overload)
|
||||||
BuildRequires: perl(Storable) >= 2.21
|
BuildRequires: perl(Storable) >= 2.21
|
||||||
BuildRequires: perl(strict)
|
BuildRequires: perl(strict)
|
||||||
BuildRequires: perl(vars)
|
BuildRequires: perl(vars)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
||||||
Requires: perl(Carp::Clan) >= 5.3
|
Requires: perl(Carp::Clan) >= 5.3
|
||||||
Requires: perl(Storable) >= 2.21
|
Requires: perl(Storable) >= 2.21
|
||||||
|
|
||||||
@ -38,39 +37,147 @@ Bit::Vector is an efficient C library which allows you to handle bit
|
|||||||
vectors, sets (of integers), "big integer arithmetic" and boolean
|
vectors, sets (of integers), "big integer arithmetic" and boolean
|
||||||
matrices, all of arbitrary sizes.
|
matrices, all of arbitrary sizes.
|
||||||
|
|
||||||
The library is efficient (in terms of algorithmical complexity) and
|
The library is efficient (in terms of algorithmic complexity) and
|
||||||
therefore fast (in terms of execution speed) for instance through the
|
therefore fast (in terms of execution speed) for instance through the
|
||||||
widespread use of divide-and-conquer algorithms.
|
widespread use of divide-and-conquer algorithms.
|
||||||
|
|
||||||
|
%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".
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Bit-Vector-%{version}
|
%setup -q -n Bit-Vector-%{version}
|
||||||
chmod -c 644 examples/*.pl
|
chmod -c 644 examples/*.pl
|
||||||
perl -pi -e 's|^#!/usr/local/bin/perl\b|#!%{__perl}|' examples/benchmk1.pl
|
perl -MConfig -pi -e 's|^#!.*perl\b|$Config{startperl}|' \
|
||||||
perl -pi -e 's|^#!perl\b|#!%{__perl}|' \
|
examples/{benchmk{1,2,3},primes,SetObject}.pl
|
||||||
examples/{benchmk{2,3},primes,SetObject}.pl
|
|
||||||
|
# Help generators to recognize Perl scripts
|
||||||
|
for F in t/*.t; do
|
||||||
|
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
|
||||||
|
chmod +x "$F"
|
||||||
|
done
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" \
|
||||||
make %{?_smp_mflags}
|
NO_PERLLOCAL=1 NO_PACKLIST=1
|
||||||
|
%{make_build}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install DESTDIR=%{buildroot}
|
%{make_install}
|
||||||
find %{buildroot} -type f -name .packlist -delete
|
|
||||||
find %{buildroot} -type f -name '*.bs' -a -size 0 -delete
|
find %{buildroot} -type f -name '*.bs' -a -size 0 -delete
|
||||||
%{_fixperms} %{buildroot}/*
|
%{_fixperms} %{buildroot}/*
|
||||||
|
|
||||||
|
# Install tests
|
||||||
|
mkdir -p %{buildroot}%{_libexecdir}/%{name}
|
||||||
|
cp -a t %{buildroot}%{_libexecdir}/%{name}
|
||||||
|
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
|
||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
DIR=$(mktemp -d)
|
||||||
|
pushd "$DIR"
|
||||||
|
cp -a %{_libexecdir}/%{name}/* ./
|
||||||
|
prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
|
||||||
|
popd
|
||||||
|
rm -rf "$DIR"
|
||||||
|
EOF
|
||||||
|
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
|
||||||
make test
|
make test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc Artistic.txt GNU_GPL.txt GNU_LGPL.txt
|
%license Artistic.txt GNU_GPL.txt GNU_LGPL.txt
|
||||||
%doc CHANGES.txt CREDITS.txt README.txt examples/
|
%doc CHANGES.txt CREDITS.txt README.txt examples/
|
||||||
%{perl_vendorarch}/Bit/
|
%{perl_vendorarch}/Bit/
|
||||||
%{perl_vendorarch}/auto/Bit/
|
%{perl_vendorarch}/auto/Bit/
|
||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
|
%files tests
|
||||||
|
%{_libexecdir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 7.4-36
|
||||||
|
- Bump release for October 2024 mass rebuild:
|
||||||
|
Resolves: RHEL-64018
|
||||||
|
|
||||||
|
* Thu Aug 08 2024 Troy Dawson <tdawson@redhat.com> - 7.4-35
|
||||||
|
- Bump release for Aug 2024 java mass rebuild
|
||||||
|
|
||||||
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 7.4-34
|
||||||
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 7.4-33
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 7.4-32
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 7.4-31
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 7.4-30
|
||||||
|
- Perl 5.38 rebuild
|
||||||
|
|
||||||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 7.4-29
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Dec 21 2022 Jitka Plesnikova <jplesnik@redhat.com> - 7.4-28
|
||||||
|
- Package tests
|
||||||
|
|
||||||
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.4-27
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 7.4-26
|
||||||
|
- Perl 5.36 rebuild
|
||||||
|
|
||||||
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.4-25
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.4-24
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 7.4-23
|
||||||
|
- Perl 5.34 rebuild
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.4-22
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.4-21
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 7.4-20
|
||||||
|
- Perl 5.32 rebuild
|
||||||
|
|
||||||
|
* Mon Feb 10 2020 Petr Pisar <ppisar@redhat.com> - 7.4-19
|
||||||
|
- Correct a spelling
|
||||||
|
|
||||||
|
* Tue Feb 04 2020 Tom Stellard <tstellar@redhat.com> - 7.4-18
|
||||||
|
- Use make_build macro
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.4-17
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.4-16
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 7.4-15
|
||||||
|
- Perl 5.30 rebuild
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.4-14
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.4-13
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 7.4-12
|
||||||
|
- Perl 5.28 rebuild
|
||||||
|
|
||||||
* Mon Feb 19 2018 Jitka Plesnikova <jplesnik@redhat.com> - 7.4-11
|
* Mon Feb 19 2018 Jitka Plesnikova <jplesnik@redhat.com> - 7.4-11
|
||||||
- Add build-require gcc
|
- Add build-require gcc
|
||||||
|
|
||||||
5
plans/sanity.fmf
Normal file
5
plans/sanity.fmf
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
summary: Sanity tests
|
||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
execute:
|
||||||
|
how: tmt
|
||||||
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
|||||||
|
SHA512 (Bit-Vector-7.4.tar.gz) = 80aa49aea8c31c60c14161198eab9d620d738530c3c209104b8ad8f1144822f80c3effb3303c569fc556b2457328659ae5d1aaf511d714c835618b84c722abc5
|
||||||
11
tests/upstream-tests.fmf
Normal file
11
tests/upstream-tests.fmf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
summary: Upstream tests
|
||||||
|
component: perl-Bit-Vector
|
||||||
|
require: perl-Bit-Vector-tests
|
||||||
|
test: /usr/libexec/perl-Bit-Vector/test
|
||||||
|
enabled: true
|
||||||
|
tag:
|
||||||
|
- rhel-buildroot
|
||||||
|
adjust:
|
||||||
|
- enabled: false
|
||||||
|
when: distro < rhel-10 or distro < centos-stream-10
|
||||||
|
continue: false
|
||||||
Loading…
Reference in New Issue
Block a user