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

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