Hello community,

here is the log from the commit of package check for openSUSE:Factory checked 
in at 2015-04-12 00:08:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/check (Old)
 and      /work/SRC/openSUSE:Factory/.check.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "check"

Changes:
--------
--- /work/SRC/openSUSE:Factory/check/check.changes      2014-09-30 
19:36:23.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.check.new/check.changes 2015-04-12 
00:08:09.000000000 +0200
@@ -1,0 +2,12 @@
+Wed Mar  4 16:46:15 UTC 2015 - [email protected]
+
+- Implement shared library naming guidelines: move the library to
+  libcheck0. The new package obsoletes 'check', as there is no
+  other content.
+- Do not pass --enable-pic to configure: only static libs profit
+  from this.
+- Add fdupes BuildRequires to eliminate the couple duplicates.
+- Move %install_info_delete from postun to preun: access to the
+  .info files is required for successful execution.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ check.spec ++++++
--- /var/tmp/diff_new_pack.HvMHxR/_old  2015-04-12 00:08:09.000000000 +0200
+++ /var/tmp/diff_new_pack.HvMHxR/_new  2015-04-12 00:08:09.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package check
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,6 +17,7 @@
 
 
 Name:           check
+%define lname   libcheck0
 Version:        0.9.14
 Release:        0
 Summary:        Unit Test Framework for C
@@ -26,10 +27,21 @@
 Source:         
http://downloads.sourceforge.net/project/check/check/0.9.14/%{name}-%{version}.tar.gz
 Source99:       baselibs.conf
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  fdupes
 BuildRequires:  pkg-config
 
 %description
-Check is a unit test framework for C. It features a simple interfacefor
+Check is a unit test framework for C. It features a simple interface for
+defining unit tests, limitating the developer the less possible.
+
+%package -n %lname
+Summary:        Unit Test Framework for C
+Group:          System/Libraries
+Obsoletes:      check < %version-%release
+Provides:       check = %version-%release
+
+%description -n %lname
+Check is a unit test framework for C. It features a simple interface for
 defining unit tests, limitating the developer the less possible. Tests
 are run in a separate address space, so Check cancatch both, assertion
 failures and code errors that cause segmentationfaults or other
@@ -37,11 +49,10 @@
 editors and IDEs.
 
 %package devel
-Summary:        Unit Test Framework for C
+Summary:        Development files for the CHECK unit test framework
 Group:          Development/Libraries/C and C++
-Requires:       %{name} = %{version}
+Requires:       %lname = %version
 Requires:       glibc-devel
-Recommends:     pgk-config
 
 %description devel
 Check is a unit test framework for C. It features a simple interface
@@ -58,28 +69,29 @@
 export CFLAGS="%{optflags} -std=gnu99"
 export CXXFLAGS="%{optflags} -std=gnu99"
 export FFLAGS="%{optflags} -std=gnu99"
-%configure --disable-static --with-pic
+%configure --disable-static
 make %{?_smp_mflags} docdir=%{_docdir}/%{name}
 
 %install
-%makeinstall docdir=%{_docdir}/%{name}
+%make_install docdir=%{_docdir}/%{name}
 %{__cp} -a AUTHORS COPYING.LESSER THANKS TODO %{buildroot}%{_docdir}/%{name}
 %{__rm} -f %{buildroot}%{_libdir}/*.la
+# a little duplicate documentation…
+%fdupes %buildroot/%_datadir
 
-%post -p /sbin/ldconfig
+%post -n %lname -p /sbin/ldconfig
 
 %post devel
 %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
 
-%postun -p /sbin/ldconfig
+%postun -n %lname -p /sbin/ldconfig
 
-%postun devel
+%preun devel
 %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
 
-%files
+%files -n %lname
 %defattr (-, root, root)
-%doc %dir %{_docdir}/%{name}
-%doc %{_docdir}/%{name}/[ACNRST]*
+%doc COPYING*
 %{_libdir}/*.so.*
 
 %files devel
@@ -90,7 +102,7 @@
 %doc %{_infodir}/%{name}.info*
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc
-%doc %{_docdir}/%{name}/example
+%{_docdir}/%{name}/
 %{_bindir}/checkmk
 %{_mandir}/man1/checkmk.1%{?ext_man}
 

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.HvMHxR/_old  2015-04-12 00:08:10.000000000 +0200
+++ /var/tmp/diff_new_pack.HvMHxR/_new  2015-04-12 00:08:10.000000000 +0200
@@ -1 +1,3 @@
-check
+libcheck0
+       obsoletes "check-<targettype> < <version>"
+       provides "check-<targettype> = <version>"


Reply via email to