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 |
12 changed files with 175 additions and 0 deletions
1
.fmf/version
Normal file
1
.fmf/version
Normal file
|
|
@ -0,0 +1 @@
|
|||
1
|
||||
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -0,0 +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
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
SHA512 (yank-1.3.0.tar.gz) = be449c27a28479d96123fc79cafb1c33b4a7f626644765882c686db200e4755cda6ae28404b65f2bcfe02d842c5455ef9f9463cd0f392d02a561a713a6ae07ca
|
||||
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
|
||||
1
yank.rpmlintrc
Normal file
1
yank.rpmlintrc
Normal file
|
|
@ -0,0 +1 @@
|
|||
addFilter('.*spelling-error.*')
|
||||
114
yank.spec
Normal file
114
yank.spec
Normal file
|
|
@ -0,0 +1,114 @@
|
|||
Name: yank
|
||||
Version: 1.3.0
|
||||
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}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
|
||||
Requires: bash
|
||||
|
||||
# Executable 'yank' already exists in another package (EMBOSS-6.6.0-3.fc24.x86_64). Binary is 'yank-cli'.
|
||||
%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
|
||||
delimiter sequence using the -d option.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
CFLAGS=${RPM_OPT_FLAGS} %make_build PROG=%{name_change}
|
||||
|
||||
%install
|
||||
%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}*
|
||||
%{_mandir}/man1/%{name_change}*
|
||||
%license LICENSE
|
||||
%doc README.md CHANGELOG.md
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Mar 01 2018 nmilosev <nmilosev@fedoraproject.org> - 0.8.3-5
|
||||
- New upstream version (same version code)
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Mon Jun 05 2017 nmilosev <nmilosev@fedoraproject.org> - 0.8.3-1
|
||||
- Upstream: 0.8.3
|
||||
* Sun Feb 19 2017 nmilosev <nmilosev@fedoraproject.org> - 0.8.2-1
|
||||
- Upstream: 0.8.2
|
||||
* Sat Feb 18 2017 nmilosev <nmilosev@fedoraproject.org> - 0.8.1-1
|
||||
- Integrated patches for debuginfo and name changing to the upstream
|
||||
* Thu Feb 16 2017 nmilosev <nmilosev@fedoraproject.org> - 0.8.0-1
|
||||
- Initial RPM for Fedora
|
||||
Loading…
Add table
Add a link
Reference in a new issue