Compare commits

...

10 Commits

Author SHA1 Message Date
Troy Dawson
d1134dc486 Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
2024-10-29 08:41:08 -07:00
Ondrej Mejzlik
232968a796 update plans 2024-08-21 11:24:57 +02:00
Troy Dawson
d2491020ad Bump release for June 2024 mass rebuild 2024-06-24 08:55:33 -07:00
Fedora Release Engineering
9f56f98331 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 02:06:34 +00:00
Fedora Release Engineering
8a94cf1e4d Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 04:03:39 +00:00
Paul Wouters
ff0c9dd30c
- Fix for building for riscv64 2024-01-11 08:18:36 -05:00
Miroslav Suchý
396568e195 Migrate to SPDX license
This is a part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_2
2023-09-20 06:05:20 +00:00
Fedora Release Engineering
b87f385b10 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 10:49:59 +00:00
Pablo Greco
4bd4080dd9 Rebuild for ELN fixes 2023-02-22 13:38:37 -03:00
Yaakov Selkowitz
cadd71bb7e Fix tests in ELN builds
ELN tracks rawhide and therefore has the newer version of gcc which
produces this warning.
2023-02-21 20:07:42 -05:00
5 changed files with 94 additions and 19 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

1
ci.fmf Normal file
View File

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

25
gating.yaml Normal file
View 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}

View File

@ -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
View 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