File project.diff of Package aaa_base
--- aaa_base.spec.orig
+++ aaa_base.spec
@@ -17,14 +17,16 @@
# norootforbuild
-
Name: aaa_base
License: GPL v2 or later
Group: System/Fhs
Provides: bin bootutls etc skeleng skelger aaa_skel
Obsoletes: aaa_skel
Requires: filesystem distribution-release /bin/mktemp /usr/bin/find /usr/bin/tput /usr/bin/xargs mingetty /bin/login cpio psmisc
+%if 0%{stage1}
+%else
Recommends: cron logrotate
+%endif
PreReq: /usr/bin/sed /usr/bin/grep /bin/mv /bin/cat /bin/ls /bin/date /usr/bin/cmp /bin/fillup /sbin/insserv udev net-tools
AutoReqProv: on
Version: 11.2
@@ -68,6 +70,10 @@ cp -v %{SOURCE22} scripts
gcc $RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 $RPM_SOURCE_DIR/get_kernel_version.c -o $RPM_SOURCE_DIR/get_kernel_version
%install
+%if 0%{stage1}
+mkdir -p $RPM_BUILD_ROOT
+%else
+%endif
install -d -m 700 root
# make sure it does not creep in again
test -d ../aaa_base/root/.gnupg && exit 1
@@ -112,6 +118,11 @@ done
#
# generate the file-list with config-files et al.
#
+%if 0%{stage1}
+rm -rRf $RPM_BUILD_ROOT/usr/share/man/man8/\*spe*
+%else
+%endif
+
test -x /usr/sbin/Check && /usr/sbin/Check
#
for i in `( cd $RPM_BUILD_ROOT ; find * | sort )` ; do
@@ -121,6 +132,13 @@ for i in `( cd $RPM_BUILD_ROOT ; find *
fi
fi
done > aaa_base.files
+%if 0%{stage1}
+ls -alhR $RPM_BUILD_ROOT
+cat aaa_base.files | grep -v "share/man" | grep -v "*spec*" > aaa_base.files2
+mv aaa_base.files2 aaa_base.files
+%else
+%endif
+
%pre -f ../scripts/aaa_base.pre
@@ -137,8 +155,23 @@ rm -f /root/.gnupg/secring.gpg.aaa_save
%files -f aaa_base.files
%defattr(-,root,root)
+%if 0%{stage1}
+/usr/share/man/man5/defaultdomain.5.gz
+/usr/share/man/man5/route.conf.5.gz
+/usr/share/man/man7/init.d.7.gz
+#/usr/share/man/man8/*spec.gz
+/usr/share/man/man8/SuSEconfig.8.gz
+/usr/share/man/man8/chkconfig.8.gz
+/usr/share/man/man8/quick_halt.8.gz
+/usr/share/man/man8/resolv+.8.gz
+/usr/share/man/man8/safe-rm.8.gz
+/usr/share/man/man8/safe-rmdir.8.gz
+%else
+%endif
%changelog
+* Wed Jan 28 2009 dl9pf@gmx.de
+- fixing for bootstrap-project stage1 (arm)
* Mon Jan 26 2009 coolo@suse.de
- removing the timeout, there is no good timeout value (bnc#426270)
* Fri Jan 23 2009 coolo@suse.de