Hello community,

here is the log from the commit of package doomsday for openSUSE:Factory 
checked in at 2013-05-16 15:34:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/doomsday (Old)
 and      /work/SRC/openSUSE:Factory/.doomsday.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "doomsday"

Changes:
--------
--- /work/SRC/openSUSE:Factory/doomsday/doomsday.changes        2013-04-17 
18:22:47.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.doomsday.new/doomsday.changes   2013-05-16 
15:34:03.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Apr 18 12:03:30 UTC 2013 - [email protected]
+
+- Supply path configuration file and kill the shell wrappers that
+  supplied the paths via command line before.
+
+-------------------------------------------------------------------

New:
----
  doomsday-rpmlintrc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ doomsday.spec ++++++
--- /var/tmp/diff_new_pack.OZptKo/_old  2013-05-16 15:34:04.000000000 +0200
+++ /var/tmp/diff_new_pack.OZptKo/_new  2013-05-16 15:34:04.000000000 +0200
@@ -27,6 +27,7 @@
 
 #DL-URL:       http://downloads.sf.net/deng/doomsday-1.10.0.tar.gz
 Source:         %name-%version.tar.xz
+Source2:        %name-rpmlintrc
 Patch1:         deng-nodate.diff
 Patch3:         deng-va-list.diff
 
@@ -101,49 +102,41 @@
 pushd doomsday/;
 make install INSTALL_ROOT="$b";
 mkdir -p "$b/%_libexecdir/%name";
-mv "$b/%_bindir"/* "$b/%_libexecdir/%name/";
-mkdir -p "$b/%_libdir/%name";
-mv "$b/%_libdir"/*.so.* "$b/%_libdir"/*.so "$b/%_libdir/%name/";
+mv "$b/%_bindir"/{md2tool,texc} "$b/%_libexecdir/%name/";
 popd;
 
-for i in doomsday launch-doomsday; do
-       cat >"$b/%_bindir/$i" <<-EOF
-               #!/bin/sh
-               if ! set | grep -q "^DOOMWADDIR="; then
-                       DOOMWADDIR="/usr/share/doom";
-                       export DOOMWADDIR;
-               fi;
-               LD_LIBRARY_PATH="\$LD_LIBRARY_PATH:%_libdir/%name" exec 
"%_libexecdir/%name/$i" -libdir "%_libdir/%name" "\$@";
-       EOF
-done;
-chmod a+x "$b/%_bindir"/{doomsday,launch-doomsday};
+mkdir -p "$b/%_sysconfdir/doomsday";
+cat >"$b/%_sysconfdir/doomsday/paths" <<-EOF
+       basedir: %_datadir/doomsday
+       libdir: %_libdir/doomsday
+       iwaddir: %_datadir/doom
+EOF
+
+%post
+echo "INFO: %name: The global IWAD directory is %_datadir/doom.";
+/sbin/ldconfig
+
+%postun -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
-%_bindir/doomsday
-%dir %_libexecdir/%name
-%_libexecdir/%name/doomsday
-%_libexecdir/%name/doomsday-server
-%_libexecdir/%name/doomsday-shell
-%_libexecdir/%name/doomsday-shell-text
-%dir %_libdir/%name
-%_libdir/%name/lib*
-%dir %_datadir/%name
-%_datadir/%name/data
-%_datadir/%name/icons
-%_datadir/%name/modules
+%dir %_sysconfdir/doomsday
+%config %_sysconfdir/doomsday/paths
+%_bindir/doomsday*
+%_libdir/libdeng*.so*
+%_libdir/%name/
+%dir %_datadir/%name/
+%_datadir/%name/data/
+%_datadir/%name/icons/
+%_datadir/%name/modules/
 %_datadir/applications/*.desktop
 %_mandir/man6/doomsday.6*
-%dir %_libexecdir/%name
-%_libexecdir/%name/md2tool
-%_libexecdir/%name/texc
+%_libexecdir/%name/
 
 %files launcher
 %defattr(-,root,root)
 %_bindir/launch-doomsday
-%dir %_libexecdir/%name
-%_libexecdir/%name/launch-doomsday
-%dir %_datadir/%name
+%dir %_datadir/%name/
 %_datadir/%name/snowberry
 
 %changelog

++++++ doomsday-rpmlintrc ++++++
# The .so links are needed for dlopen to work.
# (The package is not using -avoid-version as it should)
addFilter("devel-file-in-non-devel-package")
addFilter("shlib-policy-missing-suffix")
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to