%global _hardened_build 1 %define debug_package %{nil} Name: jsonnet Version: 0.15.0 Release: 1 Summary: The data templating language License: Apache-2.0 URL: https://github.com/google/jsonnet Source0: https://github.com/google/jsonnet/archive/v%{version}.tar.gz BuildRequires: make BuildRequires: gcc BuildRequires: gcc-c++ #%{?el7:BuildRequires: devtoolset-7-gcc} #%{?el7:BuildRequires: devtoolset-7-gcc-c++} %description A data templating language for app and tool developers %prep %autosetup %build make #%{?el7:scl enable devtoolset-7 --} make %install install -D jsonnet %{buildroot}/%{_bindir}/%{name} install -D jsonnetfmt %{buildroot}/%{_bindir}/%{name}fmt %files %defattr(-,root,root,-) %attr(755, root, root) %{_bindir}/%{name} %attr(755, root, root) %{_bindir}/%{name}fmt #%check #make test # currently tests are written in python2 which is not available in F30 %changelog * Mon Feb 10 2020 Pawel Krupa - 0.15.0-1 - Automated release of jsonnet version 0.15.0 * Tue Sep 17 2019 Pawel Krupa - 0.14.0-1 - Automated release of jsonnet version 0.14.0 - Removed devtoolset-7 build dependency on CentOS7 * Wed Jun 12 2019 Pawel Krupa - 0.13.0-3 - Fix copying binaries * Wed Jun 05 2019 Pawel Krupa - 0.13.0-2 - Add jsonnetfmt binary * Tue Jun 04 2019 Pawel Krupa - 0.13.0-1 - Automated release of jsonnet version 0.13.0 * Sun May 12 2019 Pawel Krupa - 0.12.1-1 - Initial release of version 0.12.1