%global toolchain clang Name: jo Version: 1.4 Release: 2%{?dist} Summary: jo is a small utility to create JSON objects License: GPL2 URL: https://github.com/jpmens/jo Source0: https://github.com/jpmens/jo/releases/download/%{version}/jo-%{version}.tar.gz BuildRequires: clang compiler-rt BuildRequires: make # BuildRequires: autoconf BuildRequires: pandoc %description jo is a small utility to create JSON objects %prep %autosetup %build export bashcompdir=%{_datadir}/bash-completion/completions %configure %make_build %check make check %install # rm -rf $RPM_BUILD_ROOT %make_install %files %license COPYING %doc README ChangeLog %doc %{_mandir}/man1/%{name}.1* %{_bindir}/%{name} %{_datadir}/bash-completion/completions/%{name}.bash %changelog * Thu Apr 01 2021 Jaden Pleasants 1.4-2 - Adapted spec for Fedora * Sat Jul 18 2020 JP Mens 1.4-1 - bump version -- see Changelog * Tue Apr 28 2020 Christian Albrecht 1.3-2 - Fix broken download url - Make bash completion work on RHEL based distros * Tue Apr 7 2020 Kilian Cavalotti 1.3-1 - Bumped to 1.3 release version - Include bash-completion file in package * Thu May 18 2017 Fabian Arrotin 1.1-1 - Bumped to 1.1 release version * Wed Mar 15 2017 Fabian Arrotin 1.0-1 - initial spec