Index: objfw.spec ================================================================== --- objfw.spec +++ objfw.spec @@ -32,10 +32,16 @@ Requires: %{libobjfwrt_pkgname}-devel = %{version}-%{release} 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 @@ -120,10 +126,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 %build %configure --disable-rpath %make_build