Compare commits
25 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
14f821b531 | ||
|
|
c05e373855 | ||
|
|
f52d700c6a |
||
|
|
1a2859c7a3 |
||
|
|
20469f0b25 | ||
|
|
5abbf36793 | ||
|
|
38bcd358b7 | ||
|
|
6b0e02852e | ||
|
|
80382b21ee | ||
|
|
700291e993 | ||
|
|
84ab12aa40 | ||
|
|
26188f3e29 | ||
|
|
9c9995ccd7 | ||
|
|
59af325082 | ||
|
|
b26747f0fe | ||
|
|
bf63bb088f | ||
|
|
c7d28f5226 | ||
|
|
f7bf6e3400 | ||
|
|
52961b48fa | ||
|
|
fce61b404b | ||
|
|
592cbd4032 | ||
|
|
79dd541257 | ||
|
|
c94e645d2e | ||
|
|
58d252c55a | ||
|
|
1c685a25f4 |
10 changed files with 89 additions and 17 deletions
1
.fmf/version
Normal file
1
.fmf/version
Normal file
|
|
@ -0,0 +1 @@
|
|||
1
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1 +1,3 @@
|
|||
/yank-0.8.2.tar.gz
|
||||
/yank-0.8.3.tar.gz
|
||||
/yank-1.3.0.tar.gz
|
||||
|
|
|
|||
19
gating.yaml
Normal file
19
gating.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
--- !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}
|
||||
5
plans/main.fmf
Normal file
5
plans/main.fmf
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
summary: yank smoke test
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
1
tests/cmd/main.fmf
Normal file
1
tests/cmd/main.fmf
Normal file
|
|
@ -0,0 +1 @@
|
|||
summary: basic command smoke test
|
||||
9
tests/cmd/test.sh
Executable file
9
tests/cmd/test.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/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
|
||||
4
tests/main.fmf
Normal file
4
tests/main.fmf
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
summary: basic smoke test
|
||||
test: ./test.sh
|
||||
framework: beakerlib
|
||||
require: [yank]
|
||||
2
tests/manpages/main.fmf
Normal file
2
tests/manpages/main.fmf
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
summary: verify manpages
|
||||
require: [man-db]
|
||||
15
tests/manpages/test.sh
Executable file
15
tests/manpages/test.sh
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/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
|
||||
48
yank.spec
48
yank.spec
|
|
@ -1,14 +1,14 @@
|
|||
Name: yank
|
||||
Version: 1.3.0
|
||||
Release: 1%{?dist}
|
||||
Release: 8%{?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}/%{name}-%{version}.tar.gz
|
||||
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
|
||||
Requires: bash
|
||||
|
||||
|
|
@ -16,29 +16,23 @@ 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
|
||||
%if 0%{?rhel}
|
||||
%set_build_flags
|
||||
%endif
|
||||
%make_build PROG=%{name_change}
|
||||
CFLAGS=${RPM_OPT_FLAGS} %make_build PROG=%{name_change}
|
||||
|
||||
%install
|
||||
%make_install PREFIX=%{_prefix} INSTALL_PROGRAM='install -m 0755' PROG=%{name_change}
|
||||
%make_install PREFIX=%{_prefix} MANPREFIX=%{_mandir} 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}*
|
||||
|
|
@ -46,10 +40,30 @@ ln -s %{_mandir}/man1/%{name}.1 %{buildroot}%{_mandir}/man1/%{name_change}.1
|
|||
%license LICENSE
|
||||
%doc README.md CHANGELOG.md
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Aug 16 2022 Jonathan Wright <jonathan@almalinux.org> - 1.3.0-1
|
||||
- Update to 1.3.0
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Sun Jan 12 2025 Carlos Rodriguez-Fernandez <carlosrodrifernandez@gmail.com> - 1.3.0-6
|
||||
- Migrated to SPDX license
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Mon Aug 29 2022 Filipe Rosset <rosset.filipe@gmail.com> - 1.3.0-1
|
||||
- Update to 1.3.0 fix rhbz#1742680
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue