Hello community,

here is the log from the commit of package libtomcrypt for openSUSE:Factory 
checked in at 2016-02-25 21:52:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-17 
06:58:17.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libtomcrypt.new/libtomcrypt.changes     
2016-02-25 21:52:40.000000000 +0100
@@ -1,0 +2,8 @@
+Fri Feb 12 22:03:58 UTC 2016 - [email protected]
+
+- Use url for source
+- Add gpg signature
+- Cleanup spec file with spec-cleaner
+- Do not include build date/time
+
+-------------------------------------------------------------------

New:
----
  crypt-1.17.tar.bz2.asc
  libtomcrypt.keyring

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

Other differences:
------------------
++++++ libtomcrypt.spec ++++++
--- /var/tmp/diff_new_pack.kMITDD/_old  2016-02-25 21:52:41.000000000 +0100
+++ /var/tmp/diff_new_pack.kMITDD/_new  2016-02-25 21:52:41.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libtomcrypt
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2009 Exata T.I., Maringa, PR, Brasil.
 #
 # All modifications and additions to the file contributed by third parties
@@ -25,30 +25,34 @@
 License:        SUSE-Public-Domain
 Group:          System/Libraries
 Url:            http://libtom.org
-Source0:        crypt-%{version}.tar.bz2
-# PATCH-FIX-UPSTREAM %{name}-makefile.shared.patch
+Source0:        
https://github.com/libtom/libtomcrypt/releases/download/%{version}/crypt-%{version}.tar.bz2
+Source1:        
https://github.com/libtom/libtomcrypt/releases/download/%{version}/crypt-%{version}.tar.bz2.asc
+Source2:        %{name}.keyring
+Source3:        %{name}.changes
+# PATCH-FIX-UPSTREAM libtomcrypt-makefile.shared.patch
 Patch0:         %{name}-makefile.shared.patch
 BuildRequires:  libtool
 BuildRequires:  texlive-latex
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
-LibTomCrypt is a fairly comprehensive, modular and portable cryptographic 
toolkit that provides developers with
-a vast array of well known published block ciphers, one-way hash functions, 
chaining modes, pseudo-random number
+LibTomCrypt is a fairly comprehensive, modular and portable cryptographic
+toolkit that provides developers with 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.
 
-Author:
---------
-    Tom St Denis
 
 %package -n %{soname}
 Summary:        Libraries for %{name}
 Group:          System/Libraries
 
 %description -n %{soname}
-LibTomCrypt is a fairly comprehensive, modular and portable cryptographic 
toolkit that provides developers with
-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.
+LibTomCrypt is a fairly comprehensive, modular and portable cryptographic
+toolkit that provides developers with a vast array of well known published
+block ciphers, one-way hash functions, chaining modes, pseudo-random
+numbergenerators, public key cryptography and a plethora of other routines.
+
+This package contains shared libraries
 
 %package devel
 Summary:        Development Files for LibTomCrypt
@@ -56,11 +60,13 @@
 Requires:       %{soname} = %{version}
 
 %description devel
-Headers and other development files for TomCrypt library.
+LibTomCrypt is a fairly comprehensive, modular and portable cryptographic
+toolkit that provides developers with a vast array of well known published
+block ciphers, one-way hash functions, chaining modes, pseudo-random
+numbergenerators, public key cryptography and a plethora of other routines.
+
+This package contains headers and other development files.
 
-Author:
---------
-    Tom St Denis
 
 %package examples
 Summary:        Example Files for LibTomCrypt
@@ -68,15 +74,20 @@
 Requires:       %{name}-devel = %{version}
 
 %description examples
-Example *.c files showing how to use TomCrypt library.
+LibTomCrypt is a fairly comprehensive, modular and portable cryptographic
+toolkit that provides developers with a vast array of well known published
+block ciphers, one-way hash functions, chaining modes, pseudo-random
+numbergenerators, public key cryptography and a plethora of other routines.
 
-Author:
---------
-    Tom St Denis
+This package contains example *.c files showing how to use TomCrypt library.
 
 %prep
-%setup -q -n %{name}-%{version}
+%setup -q
 %patch0 -p1
+modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE3}")"
+DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
+TIME="\"$(date -d "${modified}" "+%%R")\""
+find .  -name '*.[ch]' | xargs sed -i 
"s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g"
 
 %build
 export CFLAGS="%{optflags}"
@@ -89,7 +100,6 @@
 find %{buildroot} -type f -name "*.la" -delete -print
 
 %post -n %{soname} -p /sbin/ldconfig
-
 %postun -n %{soname} -p /sbin/ldconfig
 
 %files -n %{soname}
@@ -105,8 +115,6 @@
 %attr(0644,root,root) %{_includedir}/tomcrypt*.h
 %{_libdir}/libtomcrypt.so
 %{_libdir}/libtomcrypt_prof.so
-#%{_libdir}/libtomcrypt.la
-#%{_libdir}/libtomcrypt_prof.la
 
 %files examples
 %defattr(-,root,root)


Reply via email to