Hello community, here is the log from the commit of package filesystem checked in at Wed Aug 9 18:06:23 CEST 2006. -------- --- filesystem/filesystem.changes 2006-08-09 12:22:15.000000000 +0200 +++ filesystem/filesystem.changes 2006-08-09 18:05:56.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Aug 9 18:05:18 CEST 2006 - ro@suse.de + +- remove usr/include/X11 and usr/lib/X11 if symlinks (or empty) + in prescript using rpm-builtin lua interpreter + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ filesystem.spec ++++++ --- /var/tmp/diff_new_pack.30BsVZ/_old 2006-08-09 18:06:12.000000000 +0200 +++ /var/tmp/diff_new_pack.30BsVZ/_new 2006-08-09 18:06:12.000000000 +0200 @@ -16,7 +16,7 @@ Autoreqprov: on Summary: Basic Directory Layout Version: 10.1.1 -Release: 9 +Release: 10 BuildRoot: %{_tmppath}/%{name}-%{version}-build Obsoletes: aaa_dir Provides: aaa_dir @@ -150,15 +150,9 @@ exit 1 } -%pre -if test -x /bin/rm ; then - if test -L usr/lib/X11 ; then - rm usr/lib/X11 - fi - if test -L usr/include/X11 ;then - rm usr/include/X11 - fi -fi +%pre -p <lua> +os.remove ("/usr/include/X11") +os.remove ("/usr/lib/X11") %files -f filesystem.list @@ -171,6 +165,9 @@ %changelog -n filesystem * Wed Aug 09 2006 - ro@suse.de +- remove usr/include/X11 and usr/lib/X11 if symlinks (or empty) + in prescript using rpm-builtin lua interpreter +* Wed Aug 09 2006 - ro@suse.de - drop the prereq again and test if bin/rm is available (otherwise this is not an update and no action needed) - the prereq for /bin/sh is autogenerated by rpm anyway ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...