From 8d276d5b4136c87705c783dd85bb81e06288d0f9 Mon Sep 17 00:00:00 2001 From: Gregory McLean Date: Thu, 4 Mar 1999 18:01:35 +0000 Subject: Spec file updates -- Greg --- gnome-core.spec.in | 14 ++++++++------ gnome-desktop.spec.in | 14 ++++++++------ 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/gnome-core.spec.in b/gnome-core.spec.in index 49b304c3..a662b70e 100644 --- a/gnome-core.spec.in +++ b/gnome-core.spec.in @@ -1,6 +1,6 @@ # Note that this is NOT a relocatable package %define ver @VERSION@ -%define rel SNAP +%define rel 1 %define prefix /usr Summary: The core programs for the GNOME GUI desktop environment. @@ -18,8 +18,8 @@ Prereq: /sbin/install-info Docdir: %{prefix}/doc Requires: xscreensaver -Requires: gnome-libs >= 0.99.8 -Requires: ORBit >= 0.3.90 +Requires: gnome-libs >= 1.0.0 +Requires: ORBit >= 0.4.0 %description GNOME (GNU Network Object Model Environment) is a user-friendly @@ -64,13 +64,15 @@ Panel libraries and header files for creating GNOME panels. %build # Needed for snapshot releases. - +%ifarch alpha + MYARCH_FLAGS="--host=alpha-redhat-linux" +%endif MYCFLAGS="$RPM_OPT_FLAGS" if [ ! -f configure ]; then - CFLAGS="$MYCFLAGS" ./autogen.sh --prefix=%prefix --localstatedir=/var/lib + CFLAGS="$MYCFLAGS" ./autogen.sh $MYARCH_FLAGS --prefix=%prefix --localstatedir=/var/lib else - CFLAGS="$MYCFLAGS" ./configure --prefix=%prefix --localstatedir=/var/lib + CFLAGS="$MYCFLAGS" ./configure $MYARCH_FLAGS --prefix=%prefix --localstatedir=/var/lib fi if [ "$SMP" != "" ]; then diff --git a/gnome-desktop.spec.in b/gnome-desktop.spec.in index 49b304c3..a662b70e 100644 --- a/gnome-desktop.spec.in +++ b/gnome-desktop.spec.in @@ -1,6 +1,6 @@ # Note that this is NOT a relocatable package %define ver @VERSION@ -%define rel SNAP +%define rel 1 %define prefix /usr Summary: The core programs for the GNOME GUI desktop environment. @@ -18,8 +18,8 @@ Prereq: /sbin/install-info Docdir: %{prefix}/doc Requires: xscreensaver -Requires: gnome-libs >= 0.99.8 -Requires: ORBit >= 0.3.90 +Requires: gnome-libs >= 1.0.0 +Requires: ORBit >= 0.4.0 %description GNOME (GNU Network Object Model Environment) is a user-friendly @@ -64,13 +64,15 @@ Panel libraries and header files for creating GNOME panels. %build # Needed for snapshot releases. - +%ifarch alpha + MYARCH_FLAGS="--host=alpha-redhat-linux" +%endif MYCFLAGS="$RPM_OPT_FLAGS" if [ ! -f configure ]; then - CFLAGS="$MYCFLAGS" ./autogen.sh --prefix=%prefix --localstatedir=/var/lib + CFLAGS="$MYCFLAGS" ./autogen.sh $MYARCH_FLAGS --prefix=%prefix --localstatedir=/var/lib else - CFLAGS="$MYCFLAGS" ./configure --prefix=%prefix --localstatedir=/var/lib + CFLAGS="$MYCFLAGS" ./configure $MYARCH_FLAGS --prefix=%prefix --localstatedir=/var/lib fi if [ "$SMP" != "" ]; then -- cgit v1.2.1