Hello community, here is the log from the commit of package patterns checked in at Mon Aug 13 00:17:34 CEST 2007. -------- --- patterns/patterns.changes 2007-08-10 09:30:41.000000000 +0200 +++ /mounts/work_src_done/STABLE/patterns/patterns.changes 2007-08-12 16:37:00.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Aug 12 16:36:17 CEST 2007 - coolo@suse.de + +- support several package lists per patterns + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ patterns.spec ++++++ --- /var/tmp/diff_new_pack.Z21159/_old 2007-08-13 00:17:19.000000000 +0200 +++ /var/tmp/diff_new_pack.Z21159/_new 2007-08-13 00:17:19.000000000 +0200 @@ -17,7 +17,7 @@ Autoreqprov: on Summary: Patterns Translation Tool Version: 1.1031 -Release: 78 +Release: 80 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: patterns-1.1031.tar.bz2 Source1: create_pattern.sh @@ -58,6 +58,8 @@ %_sbindir/create_pattern.sh %changelog +* Sun Aug 12 2007 - coolo@suse.de +- support several package lists per patterns * Fri Aug 10 2007 - coolo@suse.de - split rest_cd to gnome and kde * Wed Aug 08 2007 - coolo@suse.de ++++++ create_pattern.sh ++++++ --- patterns/create_pattern.sh 2007-08-01 10:31:09.000000000 +0200 +++ /mounts/work_src_done/STABLE/patterns/create_pattern.sh 2007-08-12 16:06:56.000000000 +0200 @@ -147,12 +147,14 @@ fi ### general selections if [ -f toinstall/$pat/sel ]; then - if [ ! -f data/`cat toinstall/$pat/sel` ] ; then - echo "toinstall/$pat/sel references nonexisting pattern `cat toinstall/$pat/sel`" - exit 1 - fi - $RPM_SOURCE_DIR/preprocess data/`cat toinstall/$pat/sel` >> tmpfile - echo >> tmpfile + for file in `cat toinstall/$pat/sel`; do + if [ ! -f "data/$file" ] ; then + echo "toinstall/$pat/sel references nonexisting pattern $file" + exit 1 + fi + $RPM_SOURCE_DIR/preprocess "data/$file" >> tmpfile + echo >> tmpfile + done fi mv tmpfile $RPM_BUILD_ROOT/CD1/suse/setup/descr/$pat-${version}-${release}.${target_cpu}.pat # generate -32bit/-x86/-64bit patterns @@ -188,9 +190,10 @@ echo -e "+Fre:\n$pat\n-Fre:\n\n" >> tmpfile echo -e "+Ext:\n32bit\n-Ext:\n\n" >> tmpfile echo "+Prc:" >> tmpfile - DATA=`cat toinstall/$pat/sel` - for i in `cpp data/$DATA | grep -v -e Prq\: -e Prc\: -e Psg\: -e '^#'` ; do - echo $i-$pat_ext >> tmpfile + for DATA in `cat toinstall/$pat/sel`; do + for i in `cpp data/$DATA | grep -v -e Prq\: -e Prc\: -e Psg\: -e '^#'` ; do + echo $i-$pat_ext >> tmpfile + done done echo "-Prc:" >> tmpfile mv tmpfile $RPM_BUILD_ROOT/CD1/suse/setup/descr/$pat-$pat_ext-${version}-${release}.${target_cpu}.pat ++++++ patterns-1.1031.tar.bz2 ++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org