Hello community,

here is the log from the commit of package file for openSUSE:Factory checked in 
at 2013-02-19 16:17:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/file (Old)
 and      /work/SRC/openSUSE:Factory/.file.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "file", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/file/file.changes        2013-01-29 
06:55:49.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.file.new/file.changes   2013-02-19 
16:17:28.000000000 +0100
@@ -1,0 +2,6 @@
+Tue Feb 19 09:05:31 UTC 2013 - [email protected]
+
+- Use %libname macro and make that file-magic obsoletes libmagic-data
+  compare with bnc# 804323 to avoid trouble with interim package name
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ file.spec ++++++
--- /var/tmp/diff_new_pack.seKnFi/_old  2013-02-19 16:17:31.000000000 +0100
+++ /var/tmp/diff_new_pack.seKnFi/_new  2013-02-19 16:17:31.000000000 +0100
@@ -16,6 +16,9 @@
 #
 
 
+%define somajor 1
+%define libname libmagic%{somajor}
+
 Name:           file
 BuildRequires:  findutils
 BuildRequires:  libtool
@@ -73,25 +76,26 @@
 %package -n file-magic
 Summary:        The magic files for libmagic to use
 Group:          Development/Libraries/Other
+Obsoletes:      libmagic-data
 
 %description -n file-magic
 This package contains the basic magic files that libmagic reads and uses
 to estimate a file's type.
 
-%package -n libmagic1
+%package -n %libname
 Summary:        Library with file's functionality
 Group:          Development/Libraries/Other
 Requires:       file-magic = %{version}
 
-%description -n libmagic1
+%description -n %libname
 This library reads magic files and detects file types. Used by file command
 
 %package     -n file-devel
 Summary:        Include Files and Libraries mandatory for Development
 Group:          Development/Libraries/Other
 Provides:       file:/usr/include/magic.h
+Requires:       %libname = %{version}
 Requires:       glibc-devel
-Requires:       libmagic1 = %{version}
 
 %description -n file-devel
 This package contains all necessary include files and libraries needed
@@ -177,11 +181,11 @@
 unset LD_LIBRARY_PATH
 %{__rm} -f %{buildroot}%{_libdir}/*.la
 
-%post -n libmagic1 -p /sbin/ldconfig
+%post -n %libname -p /sbin/ldconfig
 
-%postun -n libmagic1 -p /sbin/ldconfig
+%postun -n %libname -p /sbin/ldconfig
 
-%files -n libmagic1
+%files -n %libname
 %defattr (644,root,root,755)
 %{_libdir}/lib*.so.*
 

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

Reply via email to