From 84a042a3dc6549c677c772115e67a03f9613c82a Mon Sep 17 00:00:00 2001 From: jonathanspw Date: Tue, 16 Aug 2022 15:25:53 -0500 Subject: [PATCH] update to 1.3.0 --- .gitignore | 1 + sources | 2 +- yank.spec | 26 ++++++++++++++++++-------- 3 files changed, 20 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 8806f0e..576e99b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /yank-0.8.2.tar.gz /yank-0.8.3.tar.gz +/yank-1.3.0.tar.gz diff --git a/sources b/sources index 2a493d7..ecd6a57 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (yank-0.8.3.tar.gz) = 0be0e2af8ecfce0b42301ce4713f0a3038e5494a685104459da0c71fe3077c053b793c3003012f2ee8888fa775538c5c08b052994f8cb2e9173b750b3ab09404 +SHA512 (yank-1.3.0.tar.gz) = be449c27a28479d96123fc79cafb1c33b4a7f626644765882c686db200e4755cda6ae28404b65f2bcfe02d842c5455ef9f9463cd0f392d02a561a713a6ae07ca diff --git a/yank.spec b/yank.spec index e8c4cb3..ac4c51f 100644 --- a/yank.spec +++ b/yank.spec @@ -1,11 +1,11 @@ Name: yank -Version: 0.8.3 -Release: 14%{?dist} +Version: 1.3.0 +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: make BuildRequires: gcc @@ -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,7 +46,11 @@ 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 - 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