Compare commits
10 Commits
ee03fc5751
...
d1134dc486
Author | SHA1 | Date | |
---|---|---|---|
|
d1134dc486 | ||
|
232968a796 | ||
|
d2491020ad | ||
|
9f56f98331 | ||
|
8a94cf1e4d | ||
|
ff0c9dd30c | ||
|
396568e195 | ||
|
b87f385b10 | ||
|
4bd4080dd9 | ||
|
cadd71bb7e |
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
25
gating.yaml
Normal file
25
gating.yaml
Normal file
@ -0,0 +1,25 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_context: bodhi_update_push_testing
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-public.functional}
|
||||
|
||||
#Rawhide
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_context: bodhi_update_push_stable
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-public.functional}
|
||||
|
||||
#gating rhel
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-*
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-public.functional}
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional}
|
@ -1,16 +1,18 @@
|
||||
Summary: Manipulate system time per process for testing purposes
|
||||
Name: libfaketime
|
||||
Version: 0.9.10
|
||||
Release: 4%{?dist}
|
||||
License: GPLv2+
|
||||
Release: 11%{?dist}
|
||||
# most of the code is GPL-2.0-or-later AND GPL-3.0-only
|
||||
# part of src/libfaketime.c is GPLv3
|
||||
License: GPL-2.0-or-later AND GPL-3.0-only
|
||||
Url: https://github.com/wolfcw/libfaketime
|
||||
Source: libfaketime-0.9.10.tar.gz
|
||||
Source: https://github.com/wolfcw/libfaketime/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
Patch0: libfaketime-backports.patch
|
||||
Patch1: libfaketime-symver.patch
|
||||
Patch2: 0001-Disable-unused-result-warning-in-tests.patch
|
||||
Patch3: 0001-Fix-gettimeofday-aarch64_epel8.patch
|
||||
|
||||
Provides: faketime
|
||||
Provides: faketime = %{version}
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: perl-interpreter
|
||||
@ -28,19 +30,7 @@ can modify the system time a program sees without having to change the
|
||||
time system- wide.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%if 0%{?fedora} >= 32 || 0%{?rhel} >= 9
|
||||
%patch1 -p1
|
||||
%endif
|
||||
%if 0%{?fedora} >= 36
|
||||
%patch2 -p1
|
||||
%endif
|
||||
%if 0%{?rhel} == 8
|
||||
%ifarch aarch64
|
||||
%patch3 -p1
|
||||
%endif
|
||||
%endif
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
|
||||
@ -80,7 +70,7 @@ FAKETIME_COMPILE_CFLAGS="BOGUS"
|
||||
echo "force_monotonic"
|
||||
export FAKETIME_COMPILE_CFLAGS="-DFORCE_MONOTONIC_FIX"
|
||||
%endif
|
||||
%ifarch ppc64le
|
||||
%ifarch ppc64le riscv64
|
||||
echo "force_monotonic and pthread_nonver"
|
||||
export FAKETIME_COMPILE_CFLAGS="-DFORCE_MONOTONIC_FIX -DFORCE_PTHREAD_NONVER"
|
||||
%endif
|
||||
@ -116,6 +106,28 @@ chmod a+rx %{buildroot}/%{_libdir}/faketime/*.so.*
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.9.10-11
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.9.10-10
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.10-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.10-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Wed Jan 10 2024 Paul Wouters <paul.wouters@aiven.io> - 0.9.10-7
|
||||
- Fix for building for riscv64
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.10-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Wed Feb 22 2023 Pablo Greco <pgreco@centosproject.org> - 0.9.10-5
|
||||
- Fix tests in ELN builds (yselkowitz)
|
||||
|
||||
* Tue Feb 21 2023 Pablo Greco <pgreco@centosproject.org> - 0.9.10-4
|
||||
- Also disable i686 in rhel>=10 (ELN failures)
|
||||
|
||||
|
36
plans.fmf
Normal file
36
plans.fmf
Normal file
@ -0,0 +1,36 @@
|
||||
/tier1-internal:
|
||||
plan:
|
||||
import:
|
||||
url: https://src.fedoraproject.org/tests/libfaketime.git
|
||||
name: /plans/tier1/internal
|
||||
|
||||
/tier1-public:
|
||||
plan:
|
||||
import:
|
||||
url: https://src.fedoraproject.org/tests/libfaketime.git
|
||||
name: /plans/tier1/public
|
||||
|
||||
/tier2-tier3-internal:
|
||||
plan:
|
||||
import:
|
||||
url: https://src.fedoraproject.org/tests/libfaketime.git
|
||||
name: /plans/tier2-tier3/internal
|
||||
|
||||
/tier2-tier3-public:
|
||||
plan:
|
||||
import:
|
||||
url: https://src.fedoraproject.org/tests/libfaketime.git
|
||||
name: /plans/tier2-tier3/public
|
||||
|
||||
/others-internal:
|
||||
plan:
|
||||
import:
|
||||
url: https://src.fedoraproject.org/tests/libfaketime.git
|
||||
name: /plans/others/internal
|
||||
|
||||
/others-public:
|
||||
plan:
|
||||
import:
|
||||
url: https://src.fedoraproject.org/tests/libfaketime.git
|
||||
name: /plans/others/public
|
||||
|
Loading…
Reference in New Issue
Block a user