--- a/SUNWgnome-system-tools.spec Thu Jul 10 18:35:29 2008 +0000
+++ b/SUNWgnome-system-tools.spec Fri Jul 11 02:07:06 2008 +0000
@@ -12,6 +12,7 @@
%include Solaris.inc
%use gnomesystemtools = gnome-system-tools.spec
%use systemtoolsbackends = system-tools-backends.spec
+%define network_admin_sh %gnomesystemtools.SOURCE3
Name: SUNWgnome-system-tools
Summary: GNOME system tools
@@ -22,7 +23,6 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: %{name}-manpages-0.1.tar.gz
Source1: %{name}-exec_attr
-Source2: %gnomesystemtools.SOURCE3
Requires: SUNWgnome-config
Requires: SUNWgnome-base-libs
Requires: SUNWgnome-file-mgr
@@ -93,7 +93,7 @@
# Move binary to /usr/lib
mv $RPM_BUILD_ROOT/%{_bindir}/network-admin $RPM_BUILD_ROOT/%{_libdir}/network-admin
# Now place script in to bin dir.
-install --mode=0755 %SOURCE2 $RPM_BUILD_ROOT/%{_bindir}/network-admin
+install --mode=0755 %network_admin_sh $RPM_BUILD_ROOT/%{_bindir}/network-admin
#Manpages
rm -rf $RPM_BUILD_ROOT%{_mandir}
cd %{_builddir}/%name-%version/sun-manpages