On Tue, 08 Jan 2013 19:07:19 +0100, Krzysztof Żelechowski <giecrilj@stegny.2a.pl> wrote:
Dnia środa, 9 stycznia 2013 00:10:39 doiggl@velocitynet.com.au pisze:
Hello
Question: How can I remove the %suse_update_config part without breaking the entire %build section, What should the new line(s) look like.
The old %build section of the .spec reads as
%build %{?suse_update_config:%{suse_update_config -f}} aclocal --force libtoolize --force autoconf --force autoheader --force automake -afc
AFAIK, all this stuff should be handled by { autoreconf -fi; }
HTH, Chris Hello Will this %build syntax work ?. I commented out the entie line "#%{?suse_update_config:%{suse_update_config -f}}" And added in the 6 linesbelow it ? %build now reads as [1]
Sourced from # http://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto #see section "Building on Older Distros" Thanks Glenn [1] %build #%{?suse_update_config:%{suse_update_config -f}} %if 0%{?suse_version} > 1010 autoreconf -fi %else autoheader autoconf %endif CFLAGS="$RPM_OPT_FLAGS -Wall -Wno-unused" \ ./configure \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ --bindir=%{_bindir} \ --includedir=%{_includedir} \ --sysconfdir=%{_sysconfdir} \ --mandir=%{_mandir} make %{?jobs:-j%jobs} CFLAGS="$RPM_OPT_FLAGS -Wall -Wno-unused" -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org