Hello community,

here is the log from the commit of package SDL2_gfx for openSUSE:Factory 
checked in at 2014-12-29 00:30:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/SDL2_gfx (Old)
 and      /work/SRC/openSUSE:Factory/.SDL2_gfx.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "SDL2_gfx"

Changes:
--------
--- /work/SRC/openSUSE:Factory/SDL2_gfx/SDL2_gfx.changes        2014-06-30 
21:50:27.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.SDL2_gfx.new/SDL2_gfx.changes   2014-12-29 
00:30:28.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Dec 18 09:46:46 UTC 2014 - [email protected]
+
+- Remove SDL2_gfx obsoletes (we never had packages of that name).
+  Copy current Provides to baselibs.conf.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ SDL2_gfx.spec ++++++
--- /var/tmp/diff_new_pack.g9kcDj/_old  2014-12-29 00:30:29.000000000 +0100
+++ /var/tmp/diff_new_pack.g9kcDj/_new  2014-12-29 00:30:29.000000000 +0100
@@ -17,35 +17,36 @@
 
 
 Name:           SDL2_gfx
+%define lname  libSDL2_gfx-1_0-0
 Version:        1.0.1
 Release:        0
 Summary:        SDL2 Graphics Routines for Primitives and Other Support 
Functions
 License:        Zlib
 Group:          Development/Libraries/X11
+Url:            http://cms.ferzkopp.net/index.php/software/13-sdl-gfx
 
-Url:            http://www.ferzkopp.net/joomla/content/view/19/14/
 Source:         http://www.ferzkopp.net/Software/SDL2_gfx/%name-%version.tar.gz
-Source1:        baselibs.conf
-BuildRequires:  libSDL2-devel
-BuildRequires:  pkgconfig
+Source3:        baselibs.conf
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(sdl2)
 
 %description
 Library containing 20+ graphics primitives (line, box, circle, polygon, etc.) 
for SDL2.
 
-%package -n libSDL2_gfx-1_0-0
+%package -n %lname
 Summary:        SDL2 Graphics Routines for Primitives and Other Support 
Functions
 Group:          System/Libraries
-Provides:       SDL2_gfx = %{version}
+Provides:       SDL2_gfx = %version-%release
 
-%description -n libSDL2_gfx-1_0-0
+%description -n %lname
 Library containing 20+ graphics primitives (line, box, circle, polygon, etc.) 
for SDL2.
 
 %package -n libSDL2_gfx-devel
 Summary:        Libraries, includes and more to develop SDL2_gfx applications
 Group:          Development/Libraries/X11
-Requires:       libSDL2_gfx-1_0-0 = %{version}
-Provides:       SDL2_gfx-devel = %{version}
+Requires:       %lname = %version
+Provides:       SDL2_gfx-devel = %version-%release
 
 %description -n libSDL2_gfx-devel
 Library containing 20+ graphics primitives (line, box, circle, polygon, etc.) 
for SDL2.
@@ -54,30 +55,29 @@
 %setup -q
 
 %build
-%configure --disable-static \
+%configure \
 %ifnarch x86_64
        --disable-mmx \
 %endif
-       --with-pic
+       --disable-static
 make %{?_smp_mflags}
 
 %install
 make install DESTDIR="%buildroot"
-rm -f %{buildroot}%{_libdir}/*.la
-
-%post -n libSDL2_gfx-1_0-0 -p /sbin/ldconfig
+rm -f "%buildroot/%_libdir"/*.la
 
-%postun -n libSDL2_gfx-1_0-0 -p /sbin/ldconfig
+%post   -n %lname -p /sbin/ldconfig
+%postun -n %lname -p /sbin/ldconfig
 
-%files -n libSDL2_gfx-1_0-0
+%files -n %lname
 %defattr(-,root,root)
 %doc AUTHORS COPYING ChangeLog NEWS README
-%{_libdir}/lib*.so.*
+%_libdir/lib*.so.*
 
 %files -n libSDL2_gfx-devel
 %defattr(-,root,root)
-%{_includedir}/SDL2/
-%{_libdir}/lib*.so
+%_includedir/SDL2/
+%_libdir/lib*.so
 %_libdir/pkgconfig/*.pc
 
 %changelog

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.g9kcDj/_old  2014-12-29 00:30:29.000000000 +0100
+++ /var/tmp/diff_new_pack.g9kcDj/_new  2014-12-29 00:30:29.000000000 +0100
@@ -1,6 +1,6 @@
 libSDL2_gfx-1_0-0
-  provides "SDL2_gfx-<targettype> = <version>"
-  obsoletes "SDL2_gfx-<targettype> <= <version>"
+       provides "SDL2_gfx-<targettype> = <version>"
 libSDL2_gfx-devel
-  requires -libSDL2_gfx-<targettype>
-  requires "libSDL2_gfx-1_0-0-<targettype> = <version>"
+       provides "SDL2_gfx-devel-<targettype> = <version>"
+       requires -libSDL2_gfx-<targettype>
+       requires "libSDL2_gfx-1_0-0-<targettype> = <version>"

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to