|
Panu Matilainen |
39d026 |
diff -up rpm-4.4.2.1-rc3/configure.ac.orig rpm-4.4.2.1-rc3/configure.ac
|
|
Panu Matilainen |
39d026 |
--- rpm-4.4.2.1-rc3/configure.ac.orig 2007-07-21 15:11:25.000000000 -0400
|
|
Panu Matilainen |
39d026 |
+++ rpm-4.4.2.1-rc3/configure.ac 2007-07-21 15:12:04.000000000 -0400
|
|
Panu Matilainen |
39d026 |
@@ -1132,11 +1132,13 @@ fi
|
|
Panu Matilainen |
39d026 |
#
|
|
Panu Matilainen |
39d026 |
# get rid of the 4-th tuple, if config.guess returned "linux-gnu" for build_os
|
|
Panu Matilainen |
39d026 |
#
|
|
Panu Matilainen |
39d026 |
+build_os_gnu=-gnu
|
|
Panu Matilainen |
39d026 |
if echo "$build_os" | grep '.*-gnulibc1' > /dev/null ; then
|
|
Panu Matilainen |
39d026 |
build_os=`echo "${build_os}" | sed 's/-gnulibc1$//'`
|
|
Panu Matilainen |
39d026 |
fi
|
|
Panu Matilainen |
39d026 |
if echo "$build_os" | grep '.*-gnueabi' > /dev/null ; then
|
|
Panu Matilainen |
39d026 |
build_os=`echo "${build_os}" | sed 's/-gnueabi$//'`
|
|
Panu Matilainen |
39d026 |
+ build_os_gnu=-gnueabi
|
|
Panu Matilainen |
39d026 |
fi
|
|
Panu Matilainen |
39d026 |
if echo "$build_os" | grep '.*-gnu' > /dev/null ; then
|
|
Panu Matilainen |
39d026 |
build_os=`echo "${build_os}" | sed 's/-gnu$//'`
|
|
Panu Matilainen |
39d026 |
@@ -1231,12 +1233,14 @@ unknown|pc|ibm|redhat|pld|mandrake|conec
|
|
Panu Matilainen |
39d026 |
;;
|
|
Panu Matilainen |
39d026 |
esac
|
|
Panu Matilainen |
39d026 |
RPMCANONOS="$build_os_noversion"
|
|
Panu Matilainen |
39d026 |
+RPMCANONGNU="$build_os_gnu"
|
|
Panu Matilainen |
39d026 |
AC_SUBST(RPMCANONCOLOR)
|
|
Panu Matilainen |
39d026 |
AC_SUBST(autorelocate_path)
|
|
Panu Matilainen |
39d026 |
AC_SUBST(autorelocate_dcolor)
|
|
Panu Matilainen |
39d026 |
AC_SUBST(RPMCANONARCH)
|
|
Panu Matilainen |
39d026 |
AC_SUBST(RPMCANONVENDOR)
|
|
Panu Matilainen |
39d026 |
AC_SUBST(RPMCANONOS)
|
|
Panu Matilainen |
39d026 |
+AC_SUBST(RPMCANONGNU)
|
|
Panu Matilainen |
39d026 |
|
|
Panu Matilainen |
39d026 |
if test X"$prefix" = XNONE ; then
|
|
Panu Matilainen |
39d026 |
usrprefix="$ac_default_prefix"
|
|
Panu Matilainen |
39d026 |
diff -up rpm-4.4.2.1-rc3/macros.in.orig rpm-4.4.2.1-rc3/macros.in
|
|
Panu Matilainen |
39d026 |
--- rpm-4.4.2.1-rc3/macros.in.orig 2007-07-21 15:12:13.000000000 -0400
|
|
Panu Matilainen |
39d026 |
+++ rpm-4.4.2.1-rc3/macros.in 2007-07-21 15:12:32.000000000 -0400
|
|
Panu Matilainen |
39d026 |
@@ -819,7 +819,7 @@ print (t)\
|
|
Panu Matilainen |
39d026 |
%_build_arch @RPMCANONARCH@
|
|
Panu Matilainen |
39d026 |
%_vendor @RPMCANONVENDOR@
|
|
Panu Matilainen |
39d026 |
%_os @RPMCANONOS@
|
|
Panu Matilainen |
39d026 |
-%_gnu -gnu
|
|
Panu Matilainen |
39d026 |
+%_gnu @RPMCANONGNU@
|
|
Panu Matilainen |
39d026 |
%_target_platform %{_target_cpu}-%{_vendor}-%{_target_os}%{?_gnu}
|
|
Panu Matilainen |
39d026 |
|
|
Panu Matilainen |
39d026 |
#
|