From 47767fd5b2ecaec8ecb1e8db5dd75d0045568f61 Mon Sep 17 00:00:00 2001 From: Michal Hlavinka Date: Mon, 5 Aug 2024 13:06:06 +0200 Subject: [PATCH] change license tag to SPDX format (RHEL-52832) Resolves: RHEL-52832 --- gating.yaml | 6 ++++++ libieee1284.spec | 9 ++++++--- plans/.fmf/version | 1 + plans/tier1.fmf | 34 ++++++++++++++++++++++++++++++++++ 4 files changed, 47 insertions(+), 3 deletions(-) create mode 100644 gating.yaml create mode 100644 plans/.fmf/version create mode 100644 plans/tier1.fmf diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..4ca9235 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-10 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/libieee1284.spec b/libieee1284.spec index fb65f91..43e6f39 100644 --- a/libieee1284.spec +++ b/libieee1284.spec @@ -1,8 +1,8 @@ Summary: A library for interfacing IEEE 1284-compatible devices Name: libieee1284 Version: 0.2.11 -Release: 44%{?dist} -License: GPLv2+ +Release: 45%{?dist} +License: GPL-2.0-or-later URL: http://cyberelk.net/tim/libieee1284/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 Patch1: libieee1284-strict-aliasing.patch @@ -25,7 +25,7 @@ developing applications that use libieee1284. %prep %setup -q # Fixed strict aliasing warnings (bug #605170). -%patch1 -p1 -b .strict-aliasing +%patch -P 1 -p1 -b .strict-aliasing %build autoreconf -iv @@ -53,6 +53,9 @@ rm -f %{buildroot}%{_libdir}/*.la %ldconfig_scriptlets %changelog +* Mon Aug 05 2024 Michal Hlavinka - 0.2.11-45 +- change license tag to SPDX format (RHEL-52832) + * Mon Jun 24 2024 Troy Dawson - 0.2.11-44 - Bump release for June 2024 mass rebuild diff --git a/plans/.fmf/version b/plans/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/plans/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/plans/tier1.fmf b/plans/tier1.fmf new file mode 100644 index 0000000..1e3716e --- /dev/null +++ b/plans/tier1.fmf @@ -0,0 +1,34 @@ +--- + +summary: Tier1 plan for libieee1284 + +discover: + how: fmf + url: https://pkgs.devel.redhat.com/git/tests/libieee1284 + ref: master + filter: tier:1 + +prepare: + - how: shell + script: | + set -euxo pipefail + + ENABLE_REPO_CMD="yum-config-manager --enable" + if command -v dnf >/dev/null 2>&1; then + ENABLE_REPO_CMD="dnf config-manager --set-enabled" + fi + + ${ENABLE_REPO_CMD} beaker-tasks || : + - how: shell + script: | + set -exuo pipefail + + if [[ -f /etc/os-release ]]; then + . /etc/os-release + if [[ "${ID:-}" == "rhel" && "${VERSION_ID%%.*}" -ge 8 ]]; then + dnf config-manager --enable rhel-CRB + fi + fi + +execute: + how: tmt