Hello community,

here is the log from the commit of package libtomcrypt for openSUSE:Factory 
checked in at 2014-07-17 06:58:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libtomcrypt (Old)
 and      /work/SRC/openSUSE:Factory/.libtomcrypt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libtomcrypt"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libtomcrypt/libtomcrypt.changes  2014-07-15 
08:00:20.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libtomcrypt.new/libtomcrypt.changes     
2014-07-17 06:58:17.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Jul 15 12:38:56 UTC 2014 - [email protected]
+
+- cleaned up with spec-cleaner 
+- examples now require the devel package
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libtomcrypt.spec ++++++
--- /var/tmp/diff_new_pack.CPinUF/_old  2014-07-17 06:58:18.000000000 +0200
+++ /var/tmp/diff_new_pack.CPinUF/_new  2014-07-17 06:58:18.000000000 +0200
@@ -1,26 +1,35 @@
 #
-# Spec file for package libtomcrypt (Version 1.17)
+# spec file for package libtomcrypt
 #
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2009 Exata T.I., Maringa, PR, Brasil.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
 #
-# Please submit bugfixes or comments via http://bugs.opensuse.org
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%define         soname libtomcrypt0
 
+%define         soname libtomcrypt0
 Name:           libtomcrypt
 Version:        1.17
-Release:        1
-License:        SUSE-Public-Domain
+Release:        0
 Summary:        Cryptographic Toolkit Written in Portable C
-Url:            http://libtom.org
+License:        SUSE-Public-Domain
 Group:          System/Libraries
+Url:            http://libtom.org
 Source0:        crypt-%{version}.tar.bz2
 # PATCH-FIX-UPSTREAM %{name}-makefile.shared.patch
 Patch0:         %{name}-makefile.shared.patch
-BuildRequires:  libtool, texlive-latex
+BuildRequires:  libtool
+BuildRequires:  texlive-latex
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -41,7 +50,6 @@
 a vast array of well known published block ciphers, one-way hash functions, 
chaining modes, pseudo-random number
 generators, public key cryptography and a plethora of other routines.
 
-
 %package devel
 Summary:        Development Files for LibTomCrypt
 Group:          Development/Libraries/C and C++
@@ -57,7 +65,7 @@
 %package examples
 Summary:        Example Files for LibTomCrypt
 Group:          Development/Libraries/Other
-Requires:       %{soname} = %{version}
+Requires:       %{name}-devel = %{version}
 
 %description examples
 Example *.c files showing how to use TomCrypt library.
@@ -67,27 +75,23 @@
     Tom St Denis
 
 %prep
-%setup -qn libtomcrypt-%{version}
+%setup -q -n %{name}-%{version}
 %patch0 -p1
 
-
 %build
 export CFLAGS="%{optflags}"
 make %{?_smp_mflags} LIBPATH=%{_libdir} -f makefile.shared
 
-
 %install
-%{__make} DESTDIR=%{buildroot} LIBPATH=%{_libdir} NODOCS=0 -f makefile.shared 
install
+make DESTDIR=%{buildroot} LIBPATH=%{_libdir} NODOCS=0 -f makefile.shared 
install
 # Remove static libraries (It's upstream bug in makefile.shared I think.)
-%{__rm} %{buildroot}%{_libdir}/*.a
-%{__rm} %{buildroot}%{_libdir}/*.la
+rm %{buildroot}%{_libdir}/*.a
+find %{buildroot} -type f -name "*.la" -delete -print
 
 %post -n %{soname} -p /sbin/ldconfig
 
-
 %postun -n %{soname} -p /sbin/ldconfig
 
-
 %files -n %{soname}
 %defattr(-,root,root)
 %{_libdir}/libtomcrypt.so.0
@@ -96,7 +100,6 @@
 %{_libdir}/libtomcrypt_prof.so.0.0.117
 %doc LICENSE README TODO doc/crypt.pdf
 
-
 %files devel
 %defattr(-,root,root)
 %attr(0644,root,root) %{_includedir}/tomcrypt*.h
@@ -105,10 +108,8 @@
 #%{_libdir}/libtomcrypt.la
 #%{_libdir}/libtomcrypt_prof.la
 
-
 %files examples
 %defattr(-,root,root)
 %doc demos
 
-
 %changelog

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

Reply via email to