Hello community,

here is the log from the commit of package s2tc for openSUSE:Factory checked in 
at 2014-08-13 08:49:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/s2tc (Old)
 and      /work/SRC/openSUSE:Factory/.s2tc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "s2tc"

Changes:
--------
--- /work/SRC/openSUSE:Factory/s2tc/s2tc.changes        2014-07-29 
16:49:16.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.s2tc.new/s2tc.changes   2014-08-13 
08:49:14.000000000 +0200
@@ -1,0 +2,18 @@
+Mon Aug 11 11:51:22 UTC 2014 - [email protected]
+
+- Remove %libname as now we have just unversioned .so thus putting
+  it directly to s2tc
+
+-------------------------------------------------------------------
+Mon Aug 11 11:24:49 UTC 2014 - [email protected]
+
+- Update the patch to just disable versioning in libtool.
+
+-------------------------------------------------------------------
+Mon Aug 11 08:16:41 UTC 2014 - [email protected]
+
+- Use only .so file. Thanks to Johannes Obermayr for the patch
+  bnc#890953:
+  * s2tc-no-soversion.patch
+
+-------------------------------------------------------------------

New:
----
  s2tc-no-soversion.patch

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

Other differences:
------------------
++++++ s2tc.spec ++++++
--- /var/tmp/diff_new_pack.ZtJPVY/_old  2014-08-13 08:49:15.000000000 +0200
+++ /var/tmp/diff_new_pack.ZtJPVY/_new  2014-08-13 08:49:15.000000000 +0200
@@ -16,7 +16,6 @@
 #
 
 
-%define libname libtxc_dxtn0
 Name:           s2tc
 Version:        1.0
 Release:        0
@@ -26,6 +25,7 @@
 Url:            https://github.com/divVerent/s2tc/wiki
 Source0:        https://github.com/divVerent/%{name}/archive/v%{version}.tar.gz
 Source1:        baselibs.conf
+Patch0:         s2tc-no-soversion.patch
 BuildRequires:  Mesa-devel
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -41,26 +41,17 @@
 It can be used to decompress s3tc textures with few artefacts,
 because the patented codepaths are not implemented.
 
-%package -n %{libname}
-Summary:        Super Simple Texture Compression
-Group:          System/Libraries
-
-%description -n %{libname}
-Library that decompress s2tc compressed textures.
-Contrary s3tc this algorithm is not patented and even faster.
-It can be used to decompress s3tc textures with few artefacts,
-because the patented codepaths are not implemented.
-
 %package devel
 Summary:        Super Simple Texture Compression devel libs
 Group:          Development/Libraries/C and C++
-Requires:       %{libname} = %{version}
+Requires:       %{name} = %{version}
 
 %description devel
-Development libraries for %{libname} texture compression algorithm
+Development libraries for s2tc texture compression algorithm
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 autoreconf -fvi
@@ -70,26 +61,23 @@
 make %{?_smp_mflags}
 
 %install
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
+make DESTDIR=%{buildroot} install -j1
 find %{buildroot} -type f -name "*.la" -delete -print
 
-%post -n %{libname} -p /sbin/ldconfig
+%post -p /sbin/ldconfig
 
-%postun -n %{libname} -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
-%{_bindir}/*
-
-%files -n %{libname}
-%defattr(-,root,root)
 %doc COPYING README.txt
-%{_libdir}/*.so.*
+%{_bindir}/*
+# We are having only .so file so we need that here without version
+%{_libdir}/*.so
 
 %files devel
 %defattr(-,root,root)
 %{_includedir}/*.h
-%{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc
 
 %changelog

++++++ s2tc-no-soversion.patch ++++++
diff -urN s2tc-1.0.old/Makefile.am s2tc-1.0/Makefile.am
--- s2tc-1.0.old/Makefile.am    2014-08-11 13:16:43.784152562 +0200
+++ s2tc-1.0/Makefile.am        2014-08-11 13:23:54.223152511 +0200
@@ -26,7 +26,7 @@
 if ENABLE_LIB
 lib_LTLIBRARIES = libtxc_dxtn.la
 libtxc_dxtn_la_SOURCES = s2tc_algorithm.cpp s2tc_libtxc_dxtn.cpp s2tc_common.h 
s2tc_algorithm.h txc_dxtn.h s2tc_license.h
-libtxc_dxtn_la_LDFLAGS = -versioninfo 0:0:0
+libtxc_dxtn_la_LDFLAGS = -avoid-version
 libtxc_dxtn_la_LIBADD = -lm
 libtxc_dxtn_la_CFLAGS = -fvisibility=hidden -Wold-style-definition 
-Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement
 library_includedir = $(includedir)
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to