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/.gitignore b/.gitignore index 576e99b..b1f490a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1 @@ -/yank-0.8.2.tar.gz -/yank-0.8.3.tar.gz /yank-1.3.0.tar.gz diff --git a/gating.yaml b/gating.yaml deleted file mode 100644 index fefdc9f..0000000 --- a/gating.yaml +++ /dev/null @@ -1,19 +0,0 @@ ---- !Policy -product_versions: - - fedora-* -decision_context: bodhi_update_push_testing -subject_type: koji_build -rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} ---- !Policy -product_versions: - - fedora-* -decision_context: bodhi_update_push_stable -subject_type: koji_build -rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} diff --git a/plans/main.fmf b/plans/main.fmf deleted file mode 100644 index fc5e585..0000000 --- a/plans/main.fmf +++ /dev/null @@ -1,5 +0,0 @@ -summary: yank smoke test -discover: - how: fmf -execute: - how: tmt diff --git a/tests/cmd/main.fmf b/tests/cmd/main.fmf deleted file mode 100644 index d0ddca4..0000000 --- a/tests/cmd/main.fmf +++ /dev/null @@ -1 +0,0 @@ -summary: basic command smoke test diff --git a/tests/cmd/test.sh b/tests/cmd/test.sh deleted file mode 100755 index 0463c43..0000000 --- a/tests/cmd/test.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -rlJournalStart - rlPhaseStartTest - rlRun "yank-cli -v" - rlPhaseEnd -rlJournalEnd diff --git a/tests/main.fmf b/tests/main.fmf deleted file mode 100644 index a7caf63..0000000 --- a/tests/main.fmf +++ /dev/null @@ -1,4 +0,0 @@ -summary: basic smoke test -test: ./test.sh -framework: beakerlib -require: [yank] diff --git a/tests/manpages/main.fmf b/tests/manpages/main.fmf deleted file mode 100644 index 3ee823e..0000000 --- a/tests/manpages/main.fmf +++ /dev/null @@ -1,2 +0,0 @@ -summary: verify manpages -require: [man-db] diff --git a/tests/manpages/test.sh b/tests/manpages/test.sh deleted file mode 100755 index 7b11867..0000000 --- a/tests/manpages/test.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -expected_manpages=( - 'yank(1)' - 'yank-cli(1)' -) - -rlJournalStart - for page in "${expected_manpages[@]}"; do - rlPhaseStartTest "test ${page}" - rlRun "man --pager=cat '${page}'" - rlPhaseEnd - done -rlJournalEnd diff --git a/yank.spec b/yank.spec index e56a97b..ac4c51f 100644 --- a/yank.spec +++ b/yank.spec @@ -1,14 +1,14 @@ Name: yank Version: 1.3.0 -Release: 8%{?dist} +Release: 1%{?dist} Summary: Tool for selecting and copying text from stdin without a mouse License: MIT URL: https://github.com/mptre/%{name} -Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz -BuildRequires: gcc BuildRequires: make +BuildRequires: gcc Requires: bash @@ -16,23 +16,29 @@ Requires: bash %global name_change yank-cli %description -Read input from stdin and display a selection interface that allows a field -to be selected and copied to the clipboard. Fields are either recognized by -a regular expression using the -g option or by splitting the input on a +Read input from stdin and display a selection interface that allows a field +to be selected and copied to the clipboard. Fields are either recognized by +a regular expression using the -g option or by splitting the input on a delimiter sequence using the -d option. + %prep %autosetup + %build -CFLAGS=${RPM_OPT_FLAGS} %make_build PROG=%{name_change} +%if 0%{?rhel} +%set_build_flags +%endif +%make_build PROG=%{name_change} %install -%make_install PREFIX=%{_prefix} MANPREFIX=%{_mandir} INSTALL_PROGRAM='install -m 0755' PROG=%{name_change} +%make_install PREFIX=%{_prefix} INSTALL_PROGRAM='install -m 0755' PROG=%{name_change} # Provide the same manpage for both 'yank' and 'yank-cli' ln -s %{_mandir}/man1/%{name}.1 %{buildroot}%{_mandir}/man1/%{name_change}.1 + %files %{_bindir}/%{name_change} %{_mandir}/man1/%{name}* @@ -40,30 +46,10 @@ ln -s %{_mandir}/man1/%{name}.1 %{buildroot}%{_mandir}/man1/%{name_change}.1 %license LICENSE %doc README.md CHANGELOG.md + %changelog -* Fri Jul 25 2025 Fedora Release Engineering - 1.3.0-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Sun Jan 19 2025 Fedora Release Engineering - 1.3.0-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Sun Jan 12 2025 Carlos Rodriguez-Fernandez - 1.3.0-6 -- Migrated to SPDX license - -* Sat Jul 20 2024 Fedora Release Engineering - 1.3.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Sat Jan 27 2024 Fedora Release Engineering - 1.3.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sat Jul 22 2023 Fedora Release Engineering - 1.3.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Sat Jan 21 2023 Fedora Release Engineering - 1.3.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Mon Aug 29 2022 Filipe Rosset - 1.3.0-1 -- Update to 1.3.0 fix rhbz#1742680 +* Tue Aug 16 2022 Jonathan Wright - 1.3.0-1 +- Update to 1.3.0 * Sat Jul 23 2022 Fedora Release Engineering - 0.8.3-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild