Blame SOURCES/redhat-rpm-config-9.1.0-configfoo.patch

eaaa62
diff -up redhat-rpm-config-9.1.0/macros.configfoo redhat-rpm-config-9.1.0/macros
eaaa62
--- redhat-rpm-config-9.1.0/macros.configfoo	2013-04-22 13:42:25.984613491 +0300
eaaa62
+++ redhat-rpm-config-9.1.0/macros	2013-04-22 13:43:27.053420367 +0300
eaaa62
@@ -33,6 +33,9 @@
eaaa62
   CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
eaaa62
   FFLAGS="${FFLAGS:-%optflags -I%_fmoddir}" ; export FFLAGS ; \
eaaa62
   LDFLAGS="${LDFLAGS:-%__global_ldflags}"; export LDFLAGS; \
eaaa62
+  for i in $(find . -name config.guess -o -name config.sub) ; do \
eaaa62
+      [ -f /usr/lib/rpm/redhat/$(basename $i) ] && %{__rm} -f $i && %{__cp} -fv /usr/lib/rpm/redhat/$(basename $i) $i ; \
eaaa62
+  done ; \
eaaa62
   %{_configure} --build=%{_build} --host=%{_host} \\\
eaaa62
 	--program-prefix=%{?_program_prefix} \\\
eaaa62
 	--disable-dependency-tracking \\\