Accepting request 517727 from home:linux4humans:sle11_software

- Fix build on SLE 11

OBS-URL: https://build.opensuse.org/request/show/517727
OBS-URL: https://build.opensuse.org/package/show/network:utilities/rhash?expand=0&rev=6
This commit is contained in:
Marcus Meissner 2017-08-21 05:39:11 +00:00 committed by Git OBS Bridge
parent ab776bbeab
commit 8f745a69fa
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Aug 20 04:55:49 UTC 2017 - zenitur@ya.ru
- Fix build on SLE 11
-------------------------------------------------------------------
Wed Aug 16 14:09:59 UTC 2017 - mpluskal@suse.com

View File

@ -28,6 +28,7 @@ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-src.
# PATCH-FIX-OPENSUSE rhash-1.3.0-shared.patch lazy.kent@opensuse.org -- install development files with shared library
Patch0: rhash-1.3.0-shared.patch
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
RHash (Recurcive Hasher) is a console utility for computing and
@ -111,6 +112,7 @@ make \
%postun -n librhash%{major} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc ChangeLog COPYING README
%config(noreplace) %{_sysconfdir}/rhashrc
%{_sysconfdir}/rhashrc
@ -134,9 +136,11 @@ make \
%{_mandir}/man1/whirlpool-hash.1%{ext_man}
%files -n librhash%{major}
%defattr(-,root,root)
%{_libdir}/librhash.so.%{major}*
%files devel
%defattr(-,root,root)
%doc ChangeLog COPYING README
%{_includedir}/rhash.h
%{_includedir}/rhash_torrent.h