Compare commits

..

No commits in common. "d1134dc486fe1664ebcd3539c79491ed55b25ba4" and "ee03fc5751d19f4ce50d520dbbed7414c8a07fc6" have entirely different histories.

5 changed files with 19 additions and 94 deletions

View File

@ -1 +0,0 @@
1

1
ci.fmf
View File

@ -1 +0,0 @@
resultsdb-testcase: separate

View File

@ -1,25 +0,0 @@
--- !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}

View File

@ -1,18 +1,16 @@
Summary: Manipulate system time per process for testing purposes
Name: libfaketime
Version: 0.9.10
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
Release: 4%{?dist}
License: GPLv2+
Url: https://github.com/wolfcw/libfaketime
Source: https://github.com/wolfcw/libfaketime/archive/v%{version}/%{name}-%{version}.tar.gz
Source: libfaketime-0.9.10.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 = %{version}
Provides: faketime
BuildRequires: gcc
BuildRequires: perl-interpreter
@ -30,7 +28,19 @@ can modify the system time a program sees without having to change the
time system- wide.
%prep
%autosetup -p1
%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
%build
@ -70,7 +80,7 @@ FAKETIME_COMPILE_CFLAGS="BOGUS"
echo "force_monotonic"
export FAKETIME_COMPILE_CFLAGS="-DFORCE_MONOTONIC_FIX"
%endif
%ifarch ppc64le riscv64
%ifarch ppc64le
echo "force_monotonic and pthread_nonver"
export FAKETIME_COMPILE_CFLAGS="-DFORCE_MONOTONIC_FIX -DFORCE_PTHREAD_NONVER"
%endif
@ -106,28 +116,6 @@ 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)

View File

@ -1,36 +0,0 @@
/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