Compare commits

...

No commits in common. "c9-beta" and "c10s" have entirely different histories.

9 changed files with 70 additions and 9 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/pbzip2-1.1.13.tar.gz
*.tar.*

View File

@ -1 +0,0 @@
f61e65a7616a3492815d18689c202d0685fe167d SOURCES/pbzip2-1.1.13.tar.gz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -1,9 +1,9 @@
Name: pbzip2
Version: 1.1.13
Release: 6%{?dist}
Release: 14%{?dist}
Summary: Parallel implementation of bzip2
URL: https://launchpad.net/pbzip2
License: BSD
License: bzip2-1.0.6
BuildRequires: make
BuildRequires: gcc-c++
BuildRequires: bzip2-devel
@ -46,12 +46,36 @@ ln -sf ./%{name} %{buildroot}%{_bindir}/pbzcat
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.13-6
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.1.13-14
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.13-5
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.1.13-13
- Bump release for June 2024 mass rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.13-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.13-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Aug 05 2023 Ondřej Budai <ondrej@budai.cz> - 1.1.13-10
- SPDX migration
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.13-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.13-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.13-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.13-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.13-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.13-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

3
plans/build-iso.fmf Normal file
View File

@ -0,0 +1,3 @@
summary: Run pbzip2 tests
execute:
script: ./tests/scripts/run_tests.sh

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (pbzip2-1.1.13.tar.gz) = a150e476a85b2ae71c244561380f8f113072ef712173afaa0bdace5845d5f81a15b135258cb01376156b69a5085b02b7ab866cfab5713aa773b251b203c087b8

27
tests/scripts/run_tests.sh Executable file
View File

@ -0,0 +1,27 @@
#!/bin/bash
set -eux
# Test basic pbzip2 operations
# Just some text we know is present
cat /usr/share/doc/pbzip2/* > test-file.txt
sha256sum test-file.txt > test-file.txt.sha256
# Compress a stream from stdin
pbzip2 -p4 < test-file.txt > test-stream.bz2
[ -e test-stream.bz2 ] || exit 1
# Uncompress and check it
pbzip2 -p4 -dc < test-stream.bz2 > test-file.txt
sha256sum -c test-file.txt.sha256
# Compress a file (removes original)
pbzip2 -p4 test-file.txt
[ -e test-file.txt.bz2 ] || exit 1
# Uncompress and check it
pbzip2 -p4 -df test-file.txt.bz2
sha256sum -c test-file.txt.sha256
echo "PASS"
exit 0