Hello community, here is the log from the commit of package cg for openSUSE:Factory:NonFree checked in at 2012-10-25 12:09:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory:NonFree/cg (Old) and /work/SRC/openSUSE:Factory:NonFree/.cg.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cg", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory:NonFree/cg/cg.changes 2012-10-13 23:21:47.000000000 +0200 +++ /work/SRC/openSUSE:Factory:NonFree/.cg.new/cg.changes 2012-10-25 12:09:22.000000000 +0200 @@ -1,0 +2,8 @@ +Fri Oct 19 11:31:37 UTC 2012 - [email protected] + +- remove thirdparty libraries from examples to fix build requires + for dozens of packages that requires libGL and libGLUT +- add missing dependencies +- fix build on Fedora + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cg.spec ++++++ --- /var/tmp/diff_new_pack.AJkRGq/_old 2012-10-25 12:09:24.000000000 +0200 +++ /var/tmp/diff_new_pack.AJkRGq/_new 2012-10-25 12:09:24.000000000 +0200 @@ -21,8 +21,12 @@ Url: http://developer.nvidia.com/cg-toolkit License: SUSE-NonFree and GPL-2.0+ Group: Development/Tools/Other +%if 0%{?suse_version} BuildRequires: fdupes +%endif BuildRequires: freeglut-devel +BuildRequires: pkgconfig(xi) +BuildRequires: pkgconfig(xmu) AutoReqProv: on Version: 3.1.0013 Release: 1 @@ -61,6 +65,9 @@ Group: Development/Tools/Other Requires: %name = %version Requires: Mesa-devel +Requires: pkgconfig(glu) +Requires: pkgconfig(gl) +Requires: freeglut-devel Obsoletes: Cg-devel < %{version} Provides: Cg-devel = %{version} AutoReqProv: on @@ -85,6 +92,8 @@ %prep %setup -q -n . -D -T tar -xf %_sourcedir/Cg-%{fileversion}_%CgArch.tgz +# this is redundant and breaks dependencies for libGL.so.1 and libglut.so.3 in other packages +rm usr/local/Cg/examples/Trace/*.so* %build cp -a usr/local/Cg/examples/Tools/cgfxcat cgfxcat @@ -101,7 +110,9 @@ mv %buildroot%_defaultdocdir/%name/examples %buildroot/usr/lib/%name/ sed -i "s@/usr/local/Cg@%_defaultdocdir/cg@g" %buildroot%_defaultdocdir/%name/README sed -i "s@/usr/local/Cg@%_defaultdocdir/cg@g" %buildroot%_defaultdocdir/%name/MANIFEST +%if 0%{?suse_version} %fdupes %buildroot/usr/lib/cg/examples +%endif %files %defattr(-, root, root) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
