Index: objfw.spec ================================================================== --- objfw.spec +++ objfw.spec @@ -22,10 +22,12 @@ License: QPL or GPLv3 or GPLv2 %endif URL: https://objfw.nil.im Source0: objfw-%{version}.tar.gz +BuildRequires: autoconf +BuildRequires: automake BuildRequires: clang BuildRequires: make Requires: %{libobjfw_pkgname}%{_isa} = %{version}-%{release} Requires: %{libobjfw_pkgname}-devel = %{version}-%{release} Requires: %{libobjfwrt_pkgname}%{_isa} = %{version}-%{release} @@ -33,16 +35,10 @@ Requires: ofarc%{_isa} = %{version}-%{release} Requires: ofdns%{_isa} = %{version}-%{release} Requires: ofhash%{_isa} = %{version}-%{release} Requires: ofhttp%{_isa} = %{version}-%{release} -%generate_buildrequires -if [ ! -x configure ]; then - echo "autoconf" - echo "automake" -fi - %description ObjFW is a portable, lightweight framework for the Objective-C language. It enables you to write an application in Objective-C that will run on any platform supported by ObjFW without having to worry about differences between operating systems or various frameworks you would otherwise need if you want to @@ -126,11 +122,11 @@ modern command line downloader such as resuming of downloads, using a SOCKS5 proxy, a modern terminal-based UI, etc. %prep %autosetup -[ -x configure ] || ./autogen.sh +./autogen.sh %build %configure --disable-rpath %make_build