SPECS (DEVEL): linux-live.spec - add build wrapper - skip strippin...

glen glen at pld-linux.org
Mon Dec 17 11:44:40 CET 2007


Author: glen                         Date: Mon Dec 17 10:44:40 2007 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- add build wrapper
- skip stripping initrd files

---- Files affected:
SPECS:
   linux-live.spec (1.22.2.6 -> 1.22.2.7) 

---- Diffs:

================================================================
Index: SPECS/linux-live.spec
diff -u SPECS/linux-live.spec:1.22.2.6 SPECS/linux-live.spec:1.22.2.7
--- SPECS/linux-live.spec:1.22.2.6	Sat Dec 15 16:05:51 2007
+++ SPECS/linux-live.spec	Mon Dec 17 11:44:35 2007
@@ -3,11 +3,12 @@
 Summary(pl.UTF-8):	Skrypty Linux Live
 Name:		linux-live
 Version:	6.1.5
-Release:	0.1
+Release:	0.2
 License:	GPL
 Group:		Applications/System
 Source0:	ftp://ftp.slax.org/Linux-Live/%{name}-%{version}.tar.gz
 # Source0-md5:	9d3639408907a7b98012e0bdcff9c0d1
+Source1:	%{name}-build.sh
 Patch0:		%{name}-package.patch
 URL:		http://www.linux-live.org/
 Requires:	squashfs
@@ -19,6 +20,9 @@
 %define		_sysconfdir	/etc/%{name}
 %define		__cp	cp --preserve=timestamps
 
+# do not touch initrd files
+%define		_noautostrip	.*/cd-root/.*
+
 %description
 Linux Live is a set of shell scripts which allows you to create own
 LiveCD from every Linux distribution. Just install your favourite
@@ -65,6 +69,7 @@
 rm -rf $RPM_BUILD_ROOT
 # tools for livecd
 install -d $RPM_BUILD_ROOT{%{_libdir},%{_bindir},%{_sbindir}}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/linux-live-build
 %{__cp} -p tools/liblinuxlive $RPM_BUILD_ROOT%{_libdir}
 %{__cp} -a tools/{deb2lzm,dir2lzm,lzm2dir,tgz2lzm} $RPM_BUILD_ROOT%{_bindir}
 %{__cp} -a tools/uselivemod $RPM_BUILD_ROOT%{_sbindir}
@@ -105,6 +110,7 @@
 %files build
 %defattr(644,root,root,755)
 %doc DOC/changelog.txt DOC/requirements.txt
+%attr(755,root,root) %{_sbindir}/linux-live-build
 %dir %{_sysconfdir}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/config
 %dir %{_libexecdir}
@@ -151,6 +157,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22.2.7  2007-12-17 10:44:35  glen
+- add build wrapper
+- skip stripping initrd files
+
 Revision 1.22.2.6  2007-12-15 15:05:51  patrys
 - package more files
 
@@ -168,4 +178,3 @@
 
 Revision 1.22.2.1  2007-12-13 17:03:26  glen
 - 6.1.4, just tarball
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/linux-live.spec?r1=1.22.2.6&r2=1.22.2.7&f=u



More information about the pld-cvs-commit mailing list