From 0b8e66a54960b3379f6c45ebd4b4c32f33242a0c Mon Sep 17 00:00:00 2001 From: Michal Ruprich Date: Wed, 10 Nov 2021 13:51:21 +0100 Subject: [PATCH] Enabling gating --- .fmf/version | 1 + gating.yaml | 16 ++++++++++++++++ rsync.spec | 24 +++++++++++++++++------- 3 files changed, 34 insertions(+), 7 deletions(-) create mode 100644 .fmf/version create mode 100644 gating.yaml diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..4556f63 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,16 @@ +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_testing +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.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.tier0.functional} diff --git a/rsync.spec b/rsync.spec index 4d45fed..13d96f3 100644 --- a/rsync.spec +++ b/rsync.spec @@ -21,9 +21,17 @@ Source5: rsyncd.sysconfig Source6: rsyncd@.service BuildRequires: make -BuildRequires: gcc gcc-c++ -BuildRequires: libacl-devel, libattr-devel, autoconf, popt-devel, systemd -BuildRequires: lz4-devel openssl-devel libzstd-devel xxhash-devel +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: libacl-devel +BuildRequires: libattr-devel +BuildRequires: autoconf +BuildRequires: popt-devel +BuildRequires: systemd +BuildRequires: lz4-devel +BuildRequires: openssl-devel +BuildRequires: libzstd-devel +BuildRequires: xxhash-devel #Added virtual provide for zlib due to https://fedoraproject.org/wiki/Bundled_Libraries?rd=Packaging:Bundled_Libraries Provides: bundled(zlib) = 1.2.8 License: GPLv3+ @@ -71,10 +79,12 @@ patch -p1 -i patches/copy-devices.diff %patch2 -p1 -b .lchmod %build -%configure --enable-openssl --enable-xxhash --enable-zstd --enable-lz4 \ - --enable-ipv6 -# Requries x86_64: --enable-simd --enable-asm -# --with-included-zlib=no temporary disabled because of #1043965 +%configure \ + --enable-openssl \ + --enable-xxhash + --enable-zstd \ + --enable-lz4 \ + --enable-ipv6 %{make_build}