SPECS: setup.spec - postshell in setup.spec - build with -Os
sparky
sparky at pld-linux.org
Tue Sep 5 16:56:32 CEST 2006
Author: sparky Date: Tue Sep 5 14:56:32 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- postshell in setup.spec
- build with -Os
---- Files affected:
SPECS:
setup.spec (1.120 -> 1.121)
---- Diffs:
================================================================
Index: SPECS/setup.spec
diff -u SPECS/setup.spec:1.120 SPECS/setup.spec:1.121
--- SPECS/setup.spec:1.120 Thu Aug 31 19:25:25 2006
+++ SPECS/setup.spec Tue Sep 5 16:56:27 2006
@@ -27,6 +27,7 @@
Source1: http://www.sethwklein.net/projects/iana-etc/downloads/iana-etc-%{iana_etc_ver}.tar.bz2
# Source1-md5: 9f769f7b2d0e519cf62dacb2b3b051d4
Source2: %{name}-update-fstab.c
+Source3: postshell.c
# This is source of non-iana changes in services file
#Patch0: %{name}-services.patch
Patch0: %{name}-securetty.patch
@@ -78,6 +79,7 @@
%patch0 -p1
%patch1 -p1
install %{SOURCE2} update-fstab.c
+install %{SOURCE3} postshell.c
%build
%{__make} -C iana-etc-%{iana_etc_ver}
@@ -86,8 +88,8 @@
OPT_FLAGS="%{rpmcflags} %{?with_ssp:-fno-stack-protector}" \
LDFLAGS="%{rpmldflags}" \
CC="diet %{__cc}"
-%{__make} update-fstab \
- OPT_FLAGS="%{rpmcflags}" \
+%{__make} postshell update-fstab \
+ OPT_FLAGS="%{rpmcflags} -Os" \
LDFLAGS="%{rpmldflags}" \
CC="diet %{__cc}"
@@ -98,6 +100,7 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+install postshell $RPM_BUILD_ROOT%{_sbindir}
install update-fstab $RPM_BUILD_ROOT%{_sbindir}
install iana-etc-%{iana_etc_ver}/protocols $RPM_BUILD_ROOT%{_sysconfdir}/protocols
@@ -121,6 +124,7 @@
%defattr(644,root,root,755)
%doc ChangeLog
%attr(755,root,root) %{_sbindir}/joinpasswd
+%attr(755,root,root) %{_sbindir}/postshell
%attr(755,root,root) %{_sbindir}/update-fstab
%attr(755,root,root) /etc/profile.d/*.sh
%attr(755,root,root) /etc/profile.d/*.csh
@@ -148,6 +152,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.121 2006/09/05 14:56:27 sparky
+- postshell in setup.spec
+- build with -Os
+
Revision 1.120 2006/08/31 17:25:25 glen
- env-update, rel 4
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/setup.spec?r1=1.120&r2=1.121&f=u
More information about the pld-cvs-commit
mailing list