Hello community, here is the log from the commit of package glew for openSUSE:Factory checked in at 2014-06-01 18:58:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/glew (Old) and /work/SRC/openSUSE:Factory/.glew.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "glew" Changes: -------- --- /work/SRC/openSUSE:Factory/glew/glew.changes 2012-10-27 07:39:03.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.glew.new/glew.changes 2014-06-01 18:58:10.000000000 +0200 @@ -1,0 +2,8 @@ +Mon May 26 19:44:23 UTC 2014 - fstrba@suse.com + +- Upgrade to upstream 0.10.0 +- New patch: + * glew-1.10.0-destdir.patch: Sanitize Makefile + - Add DESTDIR option to avoid buildroot in .pc files + +------------------------------------------------------------------- Old: ---- glew-1.9.0.tgz New: ---- glew-1.10.0-destdir.patch glew-1.10.0.tgz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ glew.spec ++++++ --- /var/tmp/diff_new_pack.IpfNq0/_old 2014-06-01 18:58:11.000000000 +0200 +++ /var/tmp/diff_new_pack.IpfNq0/_new 2014-06-01 18:58:11.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package glew # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,10 +16,9 @@ # -%define so_ver 1_9 - +%define so_ver 1_10 Name: glew -Version: 1.9.0 +Version: 1.10.0 Release: 0 Summary: OpenGL Extension Wrangler Library License: BSD-3-Clause and GPL-2.0 and MIT @@ -28,6 +27,7 @@ Source0: http://sourceforge.net/projects/glew/files/glew/%{version}/glew-%{version}.tgz Source1: baselibs.conf Source2: %{name}.rpmlintrc +Patch0: glew-1.10.0-destdir.patch BuildRequires: pkg-config BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(x11) @@ -58,14 +58,14 @@ Summary: Development files for glew Group: Development/Libraries/C and C++ Requires: libGLEW%{so_ver} = %{version} -%if %suse_version >= 1220 -# X11/Xlib.h X11/Xutil.h -Requires: libX11-devel -%endif # X11/Xmd.h Requires: xorg-x11-proto-devel # Don't require GLU, because there is GLEW_NO_GLU option Recommends: pkgconfig(glu) +%if 0%{?suse_version} >= 1220 +# X11/Xlib.h X11/Xutil.h +Requires: libX11-devel +%endif %description devel The OpenGL Extension Wrangler Library (GLEW) is a cross-platform @@ -76,16 +76,18 @@ %prep %setup -q +%patch0 -p1 %build -make %{?_smp_mflags} POPT="%{optflags}" LIBDIR=%{_libdir} LDFLAGS.EXTRA= STRIP= +make %{?_smp_mflags} POPT="%{optflags}" GLEW_DEST=%{_prefix} LIBDIR=%{_libdir} LDFLAGS.EXTRA= STRIP= %install -make GLEW_DEST=%{buildroot}%{_prefix} LIBDIR=%{buildroot}%{_libdir} install.all +make DESTDIR=%{buildroot} GLEW_DEST=%{_prefix} LIBDIR=%{_libdir} install.all chmod +x %{buildroot}%{_libdir}/*.so.* rm %{buildroot}%{_libdir}/*.a %post -n libGLEW%{so_ver} -p /sbin/ldconfig + %postun -n libGLEW%{so_ver} -p /sbin/ldconfig %files ++++++ glew-1.10.0-destdir.patch ++++++ --- glew-1.10.0/Makefile 2013-07-22 16:11:22.000000000 +0200 +++ glew-1.10.0/Makefile 2014-05-26 21:43:14.091089329 +0200 @@ -52,6 +52,8 @@ DIST_DIR := $(shell mktemp -d /tmp/glew.XXXXXX)/$(DIST_NAME) +DESTDIR ?= "" + # To disable stripping of binaries either: # - use STRIP= on gmake command-line # - edit this makefile to set STRIP to the empty string @@ -231,81 +233,81 @@ install.mx: install.include install.lib.mx install.pkgconfig.mx install.lib: glew.lib - $(INSTALL) -d -m 0755 $(LIBDIR) + $(INSTALL) -d -m 0755 $(DESTDIR)$(LIBDIR) # runtime ifeq ($(filter-out mingw% cygwin,$(SYSTEM)),) - $(INSTALL) -d -m 0755 $(BINDIR) - $(INSTALL) -m 0755 lib/$(LIB.SHARED) $(BINDIR)/ + $(INSTALL) -d -m 0755 $(DESTDIR)$(BINDIR) + $(INSTALL) -m 0755 lib/$(LIB.SHARED) $(DESTDIR)$(BINDIR)/ else - $(INSTALL) -m 0644 lib/$(LIB.SHARED) $(LIBDIR)/ + $(INSTALL) -m 0644 lib/$(LIB.SHARED) $(DESTDIR)$(LIBDIR)/ endif ifneq ($(LN),) - $(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.SONAME) + $(LN) $(LIB.SHARED) $(DESTDIR)$(LIBDIR)/$(LIB.SONAME) endif # development files ifeq ($(filter-out mingw% cygwin,$(SYSTEM)),) - $(INSTALL) -m 0644 lib/$(LIB.DEVLNK) $(LIBDIR)/ + $(INSTALL) -m 0644 lib/$(LIB.DEVLNK) $(DESTDIR)$(LIBDIR)/ endif ifneq ($(LN),) - $(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.DEVLNK) + $(LN) $(LIB.SHARED) $(DESTDIR)$(LIBDIR)/$(LIB.DEVLNK) endif - $(INSTALL) -m 0644 lib/$(LIB.STATIC) $(LIBDIR)/ + $(INSTALL) -m 0644 lib/$(LIB.STATIC) $(DESTDIR)$(LIBDIR)/ install.lib.mx: glew.lib.mx - $(INSTALL) -d -m 0755 $(LIBDIR) + $(INSTALL) -d -m 0755 $(DESTDIR)$(LIBDIR) # runtime ifeq ($(filter-out mingw% cygwin,$(SYSTEM)),) - $(INSTALL) -d -m 0755 $(BINDIR) - $(INSTALL) -m 0755 lib/$(LIB.SHARED.MX) $(BINDIR)/ + $(INSTALL) -d -m 0755 $(DESTDIR)$(BINDIR) + $(INSTALL) -m 0755 lib/$(LIB.SHARED.MX) $(DESTDIR)$(BINDIR)/ else - $(INSTALL) -m 0644 lib/$(LIB.SHARED.MX) $(LIBDIR)/ + $(INSTALL) -m 0644 lib/$(LIB.SHARED.MX) $(DESTDIR)$(LIBDIR)/ endif ifneq ($(LN),) - $(LN) $(LIB.SHARED.MX) $(LIBDIR)/$(LIB.SONAME.MX) + $(LN) $(LIB.SHARED.MX) $(DESTDIR)$(LIBDIR)/$(LIB.SONAME.MX) endif # development files ifeq ($(filter-out mingw% cygwin,$(SYSTEM)),) - $(INSTALL) -m 0644 lib/$(LIB.DEVLNK.MX) $(LIBDIR)/ + $(INSTALL) -m 0644 lib/$(LIB.DEVLNK.MX) $(DESTDIR)$(LIBDIR)/ endif ifneq ($(LN),) - $(LN) $(LIB.SHARED.MX) $(LIBDIR)/$(LIB.DEVLNK.MX) + $(LN) $(LIB.SHARED.MX) $(DESTDIR)$(LIBDIR)/$(LIB.DEVLNK.MX) endif - $(INSTALL) -m 0644 lib/$(LIB.STATIC.MX) $(LIBDIR)/ + $(INSTALL) -m 0644 lib/$(LIB.STATIC.MX) $(DESTDIR)$(LIBDIR)/ install.bin: glew.bin - $(INSTALL) -d -m 0755 $(BINDIR) - $(INSTALL) -s -m 0755 bin/$(GLEWINFO.BIN) bin/$(VISUALINFO.BIN) $(BINDIR)/ + $(INSTALL) -d -m 0755 $(DESTDIR)$(BINDIR) + $(INSTALL) -s -m 0755 bin/$(GLEWINFO.BIN) bin/$(VISUALINFO.BIN) $(DESTDIR)$(BINDIR)/ install.include: - $(INSTALL) -d -m 0755 $(INCDIR) - $(INSTALL) -m 0644 include/GL/wglew.h $(INCDIR)/ - $(INSTALL) -m 0644 include/GL/glew.h $(INCDIR)/ - $(INSTALL) -m 0644 include/GL/glxew.h $(INCDIR)/ + $(INSTALL) -d -m 0755 $(DESTDIR)$(INCDIR) + $(INSTALL) -m 0644 include/GL/wglew.h $(DESTDIR)$(INCDIR)/ + $(INSTALL) -m 0644 include/GL/glew.h $(DESTDIR)$(INCDIR)/ + $(INSTALL) -m 0644 include/GL/glxew.h $(DESTDIR)$(INCDIR)/ install.pkgconfig: glew.pc - $(INSTALL) -d -m 0755 $(LIBDIR) - $(INSTALL) -d -m 0755 $(LIBDIR)/pkgconfig - $(INSTALL) -m 0644 glew.pc $(LIBDIR)/pkgconfig/ + $(INSTALL) -d -m 0755 $(DESTDIR)$(LIBDIR) + $(INSTALL) -d -m 0755 $(DESTDIR)$(LIBDIR)/pkgconfig + $(INSTALL) -m 0644 glew.pc $(DESTDIR)$(LIBDIR)/pkgconfig/ install.pkgconfig.mx: glewmx.pc - $(INSTALL) -d -m 0755 $(LIBDIR) - $(INSTALL) -d -m 0755 $(LIBDIR)/pkgconfig - $(INSTALL) -m 0644 glewmx.pc $(LIBDIR)/pkgconfig/ + $(INSTALL) -d -m 0755 $(DESTDIR)$(LIBDIR) + $(INSTALL) -d -m 0755 $(DESTDIR)$(LIBDIR)/pkgconfig + $(INSTALL) -m 0644 glewmx.pc $(DESTDIR)$(LIBDIR)/pkgconfig/ uninstall: - $(RM) $(INCDIR)/wglew.h - $(RM) $(INCDIR)/glew.h - $(RM) $(INCDIR)/glxew.h - $(RM) $(LIBDIR)/$(LIB.DEVLNK) $(LIBDIR)/$(LIB.DEVLNK.MX) + $(RM) $(DESTDIR)$(INCDIR)/wglew.h + $(RM) $(DESTDIR)$(INCDIR)/glew.h + $(RM) $(DESTDIR)$(INCDIR)/glxew.h + $(RM) $(DESTDIR)$(LIBDIR)/$(LIB.DEVLNK) $(DESTDIR)$(LIBDIR)/$(LIB.DEVLNK.MX) ifeq ($(filter-out mingw% cygwin,$(SYSTEM)),) - $(RM) $(BINDIR)/$(LIB.SHARED) $(BINDIR)/$(LIB.SHARED.MX) + $(RM) $(DESTDIR)$(BINDIR)/$(LIB.SHARED) $(DESTDIR)$(BINDIR)/$(LIB.SHARED.MX) else - $(RM) $(LIBDIR)/$(LIB.SONAME) $(LIBDIR)/$(LIB.SONAME.MX) - $(RM) $(LIBDIR)/$(LIB.SHARED) $(LIBDIR)/$(LIB.SHARED.MX) + $(RM) $(DESTDIR)$(LIBDIR)/$(LIB.SONAME) $(DESTDIR)$(LIBDIR)/$(LIB.SONAME.MX) + $(RM) $(DESTDIR)$(LIBDIR)/$(LIB.SHARED) $(DESTDIR)$(LIBDIR)/$(LIB.SHARED.MX) endif - $(RM) $(LIBDIR)/$(LIB.STATIC) $(LIBDIR)/$(LIB.STATIC.MX) - $(RM) $(BINDIR)/$(GLEWINFO.BIN) $(BINDIR)/$(VISUALINFO.BIN) + $(RM) $(DESTDIR)$(LIBDIR)/$(LIB.STATIC) $(DESTDIR)$(LIBDIR)/$(LIB.STATIC.MX) + $(RM) $(DESTDIR)$(BINDIR)/$(GLEWINFO.BIN) $(DESTDIR)$(BINDIR)/$(VISUALINFO.BIN) clean: $(RM) -r tmp/ ++++++ glew-1.9.0.tgz -> glew-1.10.0.tgz ++++++ ++++ 38558 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org