# Upstream no longer has releases: # https://ftp.gnu.org/gnu/config/README %global commit 286a38db91ea2dce1749ab7d1d9ea5ae344a16c1 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: config Version: 20190120 Release: 1%{?dist} Summary: The GNU config.guess and config.sub scripts License: GPLv3+ URL: https://savannah.gnu.org/projects/%{name}/ Source: https://git.savannah.gnu.org/cgit/%{name}.git/snapshot/%{name}-%{shortcommit}.tar.gz BuildArch: noarch # For some reason, the name chosen by Debian and derivatives Provides: autotools-dev = %{version}-%{release} %description This package installs an up-to-date version of config.guess and config.sub, used by the automake and libtool packages. It provides the canonical copy of those files for other packages as well. %prep %autosetup -n %{name}-%{shortcommit} %install install -d %{buildroot}%{_datarootdir}/misc install %{name}.guess %{name}.sub %{buildroot}%{_datarootdir}/misc %check make check %files %doc ChangeLog %{_datarootdir}/misc/%{name}.* %changelog * Mon Feb 18 2018 Dridi Boukelmoune - 20190120-1 - Initial spec