diff --git a/.fmf/version b/.fmf/version deleted file mode 100644 index d00491f..0000000 --- a/.fmf/version +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/attr.spec b/attr.spec index bfe3454..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: 7%{?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,12 +125,6 @@ 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 - * Thu Jan 16 2025 Fedora Release Engineering - 2.5.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild diff --git a/plans/ci.fmf b/plans/ci.fmf deleted file mode 100644 index c1627f9..0000000 --- a/plans/ci.fmf +++ /dev/null @@ -1,5 +0,0 @@ -summary: Basic smoke test -discover: - how: fmf -execute: - how: tmt 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 f1345de..39095c5 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 deleted file mode 100644 index 7875dce..0000000 --- a/tests/getfattr-ignores-NULs-in-output-when-using-text/main.fmf +++ /dev/null @@ -1,14 +0,0 @@ -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 a053dac..929b214 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,7 +27,8 @@ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # Include Beaker environment -. /usr/share/beakerlib/beakerlib.sh || exit 1 +. /usr/bin/rhts-environment.sh +. /usr/lib/beakerlib/beakerlib.sh 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 new file mode 100644 index 0000000..4b69eae --- /dev/null +++ b/tests/getfattr-ignores-NULs-in-output-when-using-text/runtest.yml @@ -0,0 +1,38 @@ +#!/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 new file mode 100644 index 0000000..553ce22 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,14 @@ +--- +# 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