Hello community,

here is the log from the commit of package sha1collisiondetection for 
openSUSE:Factory checked in at 2017-04-13 10:45:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sha1collisiondetection (Old)
 and      /work/SRC/openSUSE:Factory/.sha1collisiondetection.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sha1collisiondetection"

Thu Apr 13 10:45:44 2017 rev:2 rq:487549 version:1.0.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/sha1collisiondetection/sha1collisiondetection.changes
    2017-03-24 02:22:04.680469716 +0100
+++ 
/work/SRC/openSUSE:Factory/.sha1collisiondetection.new/sha1collisiondetection.changes
       2017-04-13 10:45:54.146364659 +0200
@@ -1,0 +2,9 @@
+Mon Apr 10 13:29:43 UTC 2017 - [email protected]
+
+- update to 1.0.3:
+  * SIMD code removed
+  * performance improvements
+- package library
+- conflicts with libmd-devel
+
+-------------------------------------------------------------------

Old:
----
  _service
  _servicedata
  sha1collisiondetection-20170228.ec0ddf3.tar.xz

New:
----
  sha1collisiondetection-1.0.3.tar.gz

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

Other differences:
------------------
++++++ sha1collisiondetection.spec ++++++
--- /var/tmp/diff_new_pack.Q3rVZz/_old  2017-04-13 10:45:55.826127110 +0200
+++ /var/tmp/diff_new_pack.Q3rVZz/_new  2017-04-13 10:45:55.830126545 +0200
@@ -18,14 +18,13 @@
 
 
 Name:           sha1collisiondetection
-Version:        20170228.ec0ddf3
+Version:        1.0.3
 Release:        0
-Summary:        Command line tool to detect SHA-1 collision in a file
+Summary:        Detection of SHA-1 collisions
 License:        MIT
 Group:          Productivity/Security
 Url:            https://github.com/cr-marcstevens/sha1collisiondetection
-Source:         %{name}-%{version}.tar.xz
-BuildRequires:  fdupes
+Source:         
https://github.com/cr-marcstevens/sha1collisiondetection/archive/stable-v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  libtool
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
@@ -35,27 +34,67 @@
 will detect cryptanalytic collision attacks against SHA-1 present in each file.
 It is very fast and takes less than twice the amount of time as regular SHA-1.
 
+%package -n libsha1detectcoll1
+Summary:        Library that can detect SHA-1 collisions
+Group:          System/Libraries
+
+%description -n libsha1detectcoll1
+This library was designed as near drop-in replacements for other sha1sum
+implementations. It will compute the SHA-1 hash of any given file and 
additionally
+will detect cryptanalytic collision attacks against SHA-1 present in each file.
+It is very fast and takes less than twice the amount of time as regular SHA-1.
+
+%package -n libsha1detectcoll-devel
+Summary:        Development files for
+Group:          Development/Libraries/C and C++
+Requires:       libsha1detectcoll1 = %{version}
+# both libs offer /usr/include/sha1.h
+Conflicts:      libmd-devel
+
+%description -n libsha1detectcoll-devel
+This library was designed as near drop-in replacements for other sha1sum
+implementations. It will compute the SHA-1 hash of any given file and 
additionally
+will detect cryptanalytic collision attacks against SHA-1 present in each file.
+It is very fast and takes less than twice the amount of time as regular SHA-1.
+
 %prep
-%setup -q
+%setup -q -n %{name}-stable-v%{version}
 
 %build
+export TARGETCFLAGS="%{optflags}"
 make %{?_smp_mflags} PREFIX=%{_prefix}
 
 %install
 mkdir -p %{buildroot}%{_bindir}
 mkdir -p %{buildroot}%{_libdir}
-make install \
+%make_install \
+       INCLUDEDIR=%{buildroot}%{_includedir} \
        BINDIR=%{buildroot}%{_bindir} \
        LIBDIR=%{buildroot}%{_libdir}
 find %{buildroot} -type f -name "*.la" -delete -print
-%fdupes %{buildroot}%{_bindir}
+find %{buildroot} -type f -name "*.a" -delete -print
+chmod -x %{buildroot}%{_includedir}/sha1.h
 
 %check
 make %{?_smp_mflags} test
 
+%post   -n libsha1detectcoll1 -p /sbin/ldconfig
+%postun -n libsha1detectcoll1 -p /sbin/ldconfig
+
 %files
 %defattr(-,root,root)
 %doc LICENSE.txt README.md
 %{_bindir}/*
 
+%files -n libsha1detectcoll1
+%defattr(-,root,root)
+%doc LICENSE.txt README.md
+%{_libdir}/libsha1detectcoll.so.*
+
+%files -n libsha1detectcoll-devel
+%defattr(-,root,root)
+%doc LICENSE.txt README.md
+%{_includedir}/sha1.h
+%{_libdir}/libsha1detectcoll.so
+
 %changelog


Reply via email to