]> git.pld-linux.org Git - packages/setup.git/commitdiff
- postshell in setup.spec
authorsparky <sparky@pld-linux.org>
Tue, 5 Sep 2006 14:56:27 +0000 (14:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- build with -Os

Changed files:
    setup.spec -> 1.121

setup.spec

index 6ad06b76c32716af9f4d7311e02d128a1cbd7160..875587c2c74793f3ab270ff382ae4a8ecdca3d4e 100644 (file)
@@ -26,6 +26,7 @@ Source0:      ftp://distfiles.pld-linux.org/src/%{name}-%{version}.tar.bz2
 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
@@ -77,6 +78,7 @@ dosyalar
 %patch0 -p1
 %patch1 -p1
 install %{SOURCE2} update-fstab.c
+install %{SOURCE3} postshell.c
 
 %build
 %{__make} -C iana-etc-%{iana_etc_ver}
@@ -85,8 +87,8 @@ install %{SOURCE2} update-fstab.c
        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}"
 
@@ -97,6 +99,7 @@ install -d $RPM_BUILD_ROOT%{_sysconfdir}/shrc.d
 %{__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
@@ -120,6 +123,7 @@ rm -rf $RPM_BUILD_ROOT
 %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
This page took 0.051027 seconds and 4 git commands to generate.