From b8e292a1329279d912130864db69bb9f85e27a30 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 17 Jul 2024 17:46:38 +0000 Subject: [PATCH 1/6] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- attr.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/attr.spec b/attr.spec index e4c1018..1b2ab58 100644 --- a/attr.spec +++ b/attr.spec @@ -1,7 +1,7 @@ Summary: Utilities for managing filesystem extended attributes Name: attr Version: 2.5.2 -Release: 3%{?dist} +Release: 4%{?dist} Source0: https://download.savannah.nongnu.org/releases/attr/attr-%{version}.tar.xz Source1: https://download.savannah.nongnu.org/releases/attr/attr-%{version}.tar.xz.sig # Retreived from https://savannah.nongnu.org/people/viewgpg.php?user_id=15000 @@ -125,6 +125,9 @@ ln -fs ../sys/xattr.h $RPM_BUILD_ROOT%{_includedir}/attr/xattr.h %config(noreplace) %{_sysconfdir}/xattr.conf %changelog +* Wed Jul 17 2024 Fedora Release Engineering - 2.5.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Mon Jan 22 2024 Fedora Release Engineering - 2.5.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 3b62488ca5537bcdcfca40f8d9afa34f39850504 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jan 2025 11:55:11 +0000 Subject: [PATCH 2/6] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- attr.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/attr.spec b/attr.spec index 1b2ab58..0ecded1 100644 --- a/attr.spec +++ b/attr.spec @@ -1,7 +1,7 @@ Summary: Utilities for managing filesystem extended attributes Name: attr Version: 2.5.2 -Release: 4%{?dist} +Release: 5%{?dist} Source0: https://download.savannah.nongnu.org/releases/attr/attr-%{version}.tar.xz Source1: https://download.savannah.nongnu.org/releases/attr/attr-%{version}.tar.xz.sig # Retreived from https://savannah.nongnu.org/people/viewgpg.php?user_id=15000 @@ -125,6 +125,9 @@ ln -fs ../sys/xattr.h $RPM_BUILD_ROOT%{_includedir}/attr/xattr.h %config(noreplace) %{_sysconfdir}/xattr.conf %changelog +* Thu Jan 16 2025 Fedora Release Engineering - 2.5.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Wed Jul 17 2024 Fedora Release Engineering - 2.5.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From d35ab24640ef4f891f05412215b604d6fdf8b544 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zaoral?= Date: Tue, 24 Jun 2025 12:13:45 +0200 Subject: [PATCH 3/6] tests: migrate from STI to TMT --- .fmf/version | 1 + .../Makefile | 2 +- .../main.fmf | 14 +++++++ .../runtest.sh | 3 +- .../runtest.yml | 38 ------------------- tests/tests.yml | 14 ------- 6 files changed, 17 insertions(+), 55 deletions(-) create mode 100644 .fmf/version create mode 100644 tests/getfattr-ignores-NULs-in-output-when-using-text/main.fmf delete mode 100644 tests/getfattr-ignores-NULs-in-output-when-using-text/runtest.yml delete mode 100644 tests/tests.yml 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/tests/getfattr-ignores-NULs-in-output-when-using-text/Makefile b/tests/getfattr-ignores-NULs-in-output-when-using-text/Makefile index 39095c5..f1345de 100644 --- a/tests/getfattr-ignores-NULs-in-output-when-using-text/Makefile +++ b/tests/getfattr-ignores-NULs-in-output-when-using-text/Makefile @@ -50,7 +50,7 @@ $(METADATA): Makefile @echo "Name: $(TEST)" >> $(METADATA) @echo "TestVersion: $(TESTVERSION)" >> $(METADATA) @echo "Path: $(TEST_DIR)" >> $(METADATA) - @echo "Description: Test for getfattr ignores NULs in output when using \"text\" >> $(METADATA) + @echo "Description: Test for getfattr ignores NULs in output when using \"text\"" >> $(METADATA) @echo "Type: Sanity" >> $(METADATA) @echo "TestTime: 5m" >> $(METADATA) @echo "RunFor: attr" >> $(METADATA) diff --git a/tests/getfattr-ignores-NULs-in-output-when-using-text/main.fmf b/tests/getfattr-ignores-NULs-in-output-when-using-text/main.fmf new file mode 100644 index 0000000..7875dce --- /dev/null +++ b/tests/getfattr-ignores-NULs-in-output-when-using-text/main.fmf @@ -0,0 +1,14 @@ +summary: Test for getfattr ignores NULs in output when using "text" +description: | + Bug summary: getfattr ignores NULs in output when using "text" encoding +contact: Jan Scotka +component: + - attr +test: ./runtest.sh +framework: beakerlib +recommend: + - attr +duration: 5m +extra-summary: + /CoreOS/attr/Sanity/getfattr-ignores-NULs-in-output-when-using-text +extra-task: /CoreOS/attr/Sanity/getfattr-ignores-NULs-in-output-when-using-text diff --git a/tests/getfattr-ignores-NULs-in-output-when-using-text/runtest.sh b/tests/getfattr-ignores-NULs-in-output-when-using-text/runtest.sh index 929b214..a053dac 100755 --- a/tests/getfattr-ignores-NULs-in-output-when-using-text/runtest.sh +++ b/tests/getfattr-ignores-NULs-in-output-when-using-text/runtest.sh @@ -27,8 +27,7 @@ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # Include Beaker environment -. /usr/bin/rhts-environment.sh -. /usr/lib/beakerlib/beakerlib.sh +. /usr/share/beakerlib/beakerlib.sh || exit 1 PACKAGE="attr" diff --git a/tests/getfattr-ignores-NULs-in-output-when-using-text/runtest.yml b/tests/getfattr-ignores-NULs-in-output-when-using-text/runtest.yml deleted file mode 100644 index 4b69eae..0000000 --- a/tests/getfattr-ignores-NULs-in-output-when-using-text/runtest.yml +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash -# vim: dict=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.yml of /CoreOS/attr/Sanity/getfattr-ignores-NULs-in-output-when-using-text -# Description: Test for getfattr ignores NULs in output when using "text" -# Author: Jan Scotka -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2011 Red Hat, Inc. All rights reserved. -# -# This copyrighted material is made available to anyone wishing -# to use, modify, copy, or redistribute it subject to the terms -# and conditions of the GNU General Public License version 2. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -# Boston, MA 02110-1301, USA. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -- hosts: '{{ hosts | default("localhost") }}' - vars: - package: attr - tasks: - - name: Check if package exists - command: "rpm -q {{ package }}" - args: - warn: no - - name: Runtest - shell: "getfattr -e text -d -m - /usr/bin/getfattr | grep 'security.selinux=\".*\"'" diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index 553ce22..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,14 +0,0 @@ ---- -# This first play always runs on the local staging system -- hosts: localhost - roles: - - role: standard-test-beakerlib - tags: - - classic - - atomic - tests: - - getfattr-ignores-NULs-in-output-when-using-text - required_packages: - - attr # getfattr-ignores-NULs-in-output-when-using-text requires attr package - - rpm-build # Upstream test requires rpmbuild - - gettext # Upstream test requires gettext From eb00888c475541b3834b02dfaee1c3c9fbb3a95c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zaoral?= Date: Tue, 24 Jun 2025 14:20:15 +0200 Subject: [PATCH 4/6] tests: add a simple TMT test plan --- plans/ci.fmf | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 plans/ci.fmf diff --git a/plans/ci.fmf b/plans/ci.fmf new file mode 100644 index 0000000..c1627f9 --- /dev/null +++ b/plans/ci.fmf @@ -0,0 +1,5 @@ +summary: Basic smoke test +discover: + how: fmf +execute: + how: tmt From 0adfe3b1f7ddcaecc0bc78a10768a377cf537279 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 17:24:48 +0000 Subject: [PATCH 5/6] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- attr.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/attr.spec b/attr.spec index 0ecded1..80e7284 100644 --- a/attr.spec +++ b/attr.spec @@ -1,7 +1,7 @@ Summary: Utilities for managing filesystem extended attributes Name: attr Version: 2.5.2 -Release: 5%{?dist} +Release: 6%{?dist} Source0: https://download.savannah.nongnu.org/releases/attr/attr-%{version}.tar.xz Source1: https://download.savannah.nongnu.org/releases/attr/attr-%{version}.tar.xz.sig # Retreived from https://savannah.nongnu.org/people/viewgpg.php?user_id=15000 @@ -125,6 +125,9 @@ ln -fs ../sys/xattr.h $RPM_BUILD_ROOT%{_includedir}/attr/xattr.h %config(noreplace) %{_sysconfdir}/xattr.conf %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 2.5.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Thu Jan 16 2025 Fedora Release Engineering - 2.5.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 389da92ea2c2f109fe55daa7ef424f76c46111bd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 16 Jan 2026 04:06:55 +0000 Subject: [PATCH 6/6] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- attr.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/attr.spec b/attr.spec index 80e7284..bfe3454 100644 --- a/attr.spec +++ b/attr.spec @@ -1,7 +1,7 @@ Summary: Utilities for managing filesystem extended attributes Name: attr Version: 2.5.2 -Release: 6%{?dist} +Release: 7%{?dist} Source0: https://download.savannah.nongnu.org/releases/attr/attr-%{version}.tar.xz Source1: https://download.savannah.nongnu.org/releases/attr/attr-%{version}.tar.xz.sig # Retreived from https://savannah.nongnu.org/people/viewgpg.php?user_id=15000 @@ -125,6 +125,9 @@ ln -fs ../sys/xattr.h $RPM_BUILD_ROOT%{_includedir}/attr/xattr.h %config(noreplace) %{_sysconfdir}/xattr.conf %changelog +* Fri Jan 16 2026 Fedora Release Engineering - 2.5.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Wed Jul 23 2025 Fedora Release Engineering - 2.5.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild