Hello community,

here is the log from the commit of package mhash for openSUSE:Factory checked 
in at 2015-03-01 14:46:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mhash (Old)
 and      /work/SRC/openSUSE:Factory/.mhash.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mhash"

Changes:
--------
--- /work/SRC/openSUSE:Factory/mhash/mhash.changes      2013-01-14 
12:02:36.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.mhash.new/mhash.changes 2015-03-01 
14:46:50.000000000 +0100
@@ -1,0 +2,13 @@
+Thu Feb 26 21:13:22 UTC 2015 - [email protected]
+
+- Move part of documentation to devel package
+
+-------------------------------------------------------------------
+Thu Feb 26 20:27:25 UTC 2015 - [email protected]
+
+- Cleanup spec file with spec-cleaner
+- Refresh dependencies
+- Move libraries to libmhash2 to comply with shlip policies
+- Use url for source
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ mhash.spec ++++++
--- /var/tmp/diff_new_pack.9je0YC/_old  2015-03-01 14:46:51.000000000 +0100
+++ /var/tmp/diff_new_pack.9je0YC/_new  2015-03-01 14:46:51.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mhash
 #
-# Copyright (c) 2013 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
@@ -19,66 +19,77 @@
 Name:           mhash
 Version:        0.9.9.9
 Release:        0
-BuildRequires:  libtool
-Url:            http://mhash.sourceforge.net/
-Summary:        A Library for Working with Strong Hashes (Like MD5)
+Summary:        A Library for Working with Strong Hashes
 License:        GPL-2.0+
 Group:          Development/Libraries/C and C++
-Source:         %{name}-%{version}.tar.bz2
+Url:            http://mhash.sourceforge.net/
+Source:         
http://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-%{version}.tar.bz2
 Patch0:         %{name}-%{version}-shared.diff
 # PATCH-FIX-UPSTREAM fix-for-upstream-sources.patch sourceforge#2908478
 Patch1:         mhash_remove_premature_free.patch
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  libtool
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 The mhash library provides an easy way to access strong hashes, such as
 MD5, SHA1, and other algorithms.
 
+%package -n lib%{name}2
+Summary:        A Library for Working with Strong Hashes
+Group:          System/Libraries
+Provides:       %{name} = %{version}
+Obsoletes:      %{name} < %{version}
+
+%description -n lib%{name}2
+The mhash library provides an easy way to access strong hashes, such as
+MD5, SHA1, and other algorithms.
+
 %package devel
-Summary:        Static Library and Header Files for mhash Library
+Summary:        Header Files for mhash Library
 Group:          Development/Libraries/C and C++
-Provides:       mhash:/usr/include/mhash.h
-Requires:       glibc-devel
-Requires:       mhash = %{version}
+Requires:       lib%{name}2 = %{version}
+Provides:       %{name}:%{_includedir}/%{name}.h
 
 %description devel
 The mhash library provides an easy way to access strong hashes such as
 MD5, SHA1, and other algorithms.
 
 %prep
-%setup -q -n %{name}-%{version}
+%setup -q
 %patch0
 %patch1 -p1
 
 %build
 autoreconf --force --install
-%configure --with-pic\
+%configure \
+       --with-pic \
     --disable-static
-%{__make} %{?_smp_mflags}
+
+make %{?_smp_mflags}
 
 %install
-%{__make} DESTDIR=%{buildroot} install
-# useless .la file - has empty dependency_libs variable
-%{__rm} -f %{buildroot}%{_libdir}/libmhash.la
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
+# useless .la file 
+rm %{buildroot}%{_libdir}/lib%{name}.la
 
 %check 
-make check
-
-%post -p /sbin/ldconfig
+make %{?_smp_mflags} check
 
-%postun -p /sbin/ldconfig
+%post -n lib%{name}2 -p /sbin/ldconfig
 
-%clean
-%{__rm} -rf %{buildroot}
+%postun -n lib%{name}2 -p /sbin/ldconfig
 
-%files
+%files -n lib%{name}2
 %defattr(-,root,root)
 %doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
-%doc doc/skid2-authentication doc/example.c
 %{_libdir}/libmhash.so.*
 
 %files devel
 %defattr(-,root,root)
+%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
+%doc doc/skid2-authentication doc/example.c
 %doc %{_mandir}/man?/*
 %{_includedir}/*
 %{_libdir}/libmhash.so

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

Reply via email to