Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
80608b04b1 |
10 changed files with 17 additions and 89 deletions
|
|
@ -1 +0,0 @@
|
|||
1
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,3 +1 @@
|
|||
/yank-0.8.2.tar.gz
|
||||
/yank-0.8.3.tar.gz
|
||||
/yank-1.3.0.tar.gz
|
||||
|
|
|
|||
19
gating.yaml
19
gating.yaml
|
|
@ -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}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
summary: yank smoke test
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
|
|
@ -1 +0,0 @@
|
|||
summary: basic command smoke test
|
||||
|
|
@ -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
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
summary: basic smoke test
|
||||
test: ./test.sh
|
||||
framework: beakerlib
|
||||
require: [yank]
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
summary: verify manpages
|
||||
require: [man-db]
|
||||
|
|
@ -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
|
||||
48
yank.spec
48
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 <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
|
||||
* Tue Aug 16 2022 Jonathan Wright <jonathan@almalinux.org> - 1.3.0-1
|
||||
- Update to 1.3.0
|
||||
|
||||
* 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