- Update to version 1.3.5:

* look for locales directory at PROGRAM_DIRECTORY\locale on
    Windows
	* look for config at PROGRAM_DIRECTORY\rhashrc on Windows

OBS-URL: https://build.opensuse.org/package/show/network:utilities/rhash?expand=0&rev=5
This commit is contained in:
Martin Pluskal 2017-08-16 14:17:05 +00:00 committed by Git OBS Bridge
parent be3fad9ef9
commit ab776bbeab
5 changed files with 47 additions and 25 deletions

View File

@ -1,10 +1,10 @@
Description: Install development files with shared library.
Author: Kyrill Detinov <lazy.kent@opensuse.org>
Index: rhash-1.3.4/Makefile
Index: RHash-1.3.5/Makefile
===================================================================
--- rhash-1.3.4.orig/Makefile
+++ rhash-1.3.4/Makefile
@@ -164,7 +164,7 @@ check: version.h
--- RHash-1.3.5.orig/Makefile
+++ RHash-1.3.5/Makefile
@@ -174,7 +174,7 @@ check: version.h
echo "version=$(VERSION)" > bindings/version.properties
[ -s dist/rhash.1.html ]
@ -13,12 +13,12 @@ Index: rhash-1.3.4/Makefile
$(CC) $(OBJECTS) -o $@ $(ALLLDFLAGS)
$(SHARED_TRG): $(OBJECTS) $(SHAREDLIB)
Index: rhash-1.3.4/librhash/Makefile
Index: RHash-1.3.5/librhash/Makefile
===================================================================
--- rhash-1.3.4.orig/librhash/Makefile
+++ rhash-1.3.4/librhash/Makefile
@@ -43,13 +43,14 @@ lib-shared: $(SONAME)
libs-all: lib-static lib-shared
--- RHash-1.3.5.orig/librhash/Makefile
+++ RHash-1.3.5/librhash/Makefile
@@ -49,13 +49,14 @@ dylib: $(DYNAME)
dll: $(DLLNAME)
dist-clean: clean
-install-lib-static: $(LIBRARY) install-headers

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:406662c4703bd4cb1caae26f32700951a5e12adf39f141d3f40e0b461b1e9e49
size 249357

3
rhash-1.3.5-src.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:98e0688acae29e68c298ffbcdbb0f838864105f9b2bd8857980664435b1f1f2e
size 316867

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Aug 16 14:09:59 UTC 2017 - mpluskal@suse.com
- Update to version 1.3.5:
* look for locales directory at PROGRAM_DIRECTORY\locale on
Windows
* look for config at PROGRAM_DIRECTORY\rhashrc on Windows
-------------------------------------------------------------------
Tue Jun 13 08:09:55 UTC 2017 - mpluskal@suse.com

View File

@ -18,7 +18,7 @@
%define major 0
Name: rhash
Version: 1.3.4
Version: 1.3.5
Release: 0
Summary: Recursive Hasher
License: MIT
@ -77,11 +77,11 @@ This package includes LibRHash development files.
%lang_package
%prep
%setup -q
%setup -q -n RHash-%{version}
%patch0 -p1
%build
# Don't run parallel make — it doesn't work.
# Don't run parallel make %{?_smp_mflags} — it doesn't work.
# Use OPTLDFLAGS="" not to strip binaries.
make \
ADDCFLAGS="-DUSE_GETTEXT -rdynamic" \
@ -111,23 +111,37 @@ make \
%postun -n librhash%{major} -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc ChangeLog COPYING README dist/rhash.1.html
%{_bindir}/*
%{_mandir}/man?/*
%doc ChangeLog COPYING README
%config(noreplace) %{_sysconfdir}/rhashrc
%{_sysconfdir}/rhashrc
%{_bindir}/ed2k-link
%{_bindir}/gost-hash
%{_bindir}/has160-hash
%{_bindir}/magnet-link
%{_bindir}/rhash
%{_bindir}/sfv-hash
%{_bindir}/tiger-hash
%{_bindir}/tth-hash
%{_bindir}/whirlpool-hash
%{_mandir}/man1/ed2k-link.1%{ext_man}
%{_mandir}/man1/gost-hash.1%{ext_man}
%{_mandir}/man1/has160-hash.1%{ext_man}
%{_mandir}/man1/magnet-link.1%{ext_man}
%{_mandir}/man1/rhash.1%{ext_man}
%{_mandir}/man1/sfv-hash.1%{ext_man}
%{_mandir}/man1/tiger-hash.1%{ext_man}
%{_mandir}/man1/tth-hash.1%{ext_man}
%{_mandir}/man1/whirlpool-hash.1%{ext_man}
%files -n librhash%{major}
%defattr(-,root,root,-)
%{_libdir}/*.so.*
%{_libdir}/librhash.so.%{major}*
%files devel
%defattr(-,root,root,-)
%doc ChangeLog COPYING README
%{_includedir}/rhash*
%{_libdir}/*.so
%{_includedir}/rhash.h
%{_includedir}/rhash_torrent.h
%{_libdir}/librhash.so
%files lang -f %{name}.lang
%defattr(-,root,root)
%changelog