upgrade to 1.4.0
This commit is contained in:
parent
9e08629890
commit
b14581ed53
Binary file not shown.
BIN
rhash-1.4.0.tar.gz
Normal file
BIN
rhash-1.4.0.tar.gz
Normal file
Binary file not shown.
21
rhash.spec
21
rhash.spec
@ -1,11 +1,14 @@
|
|||||||
Name: rhash
|
Name: rhash
|
||||||
Version: 1.3.5
|
Version: 1.4.0
|
||||||
Release: 5
|
Release: 1
|
||||||
Summary: Great utility for computing hash sums
|
Summary: Great utility for computing hash sums
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/rhash/RHash
|
URL: https://github.com/rhash/RHash
|
||||||
Source0: https://github.com/rhash/RHash/archive/v%{version}/rhash-%{version}.tar.gz
|
Source0: https://github.com/rhash/RHash/archive/v%{version}/rhash-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: -gcc_secure
|
||||||
|
|
||||||
%description
|
%description
|
||||||
RHash is designed to calculate and verificate magnet links and hash sums.
|
RHash is designed to calculate and verificate magnet links and hash sums.
|
||||||
It supports a wide range of hash sums such as CRC32, MD4, MD5, SHA1, SHA256,
|
It supports a wide range of hash sums such as CRC32, MD4, MD5, SHA1, SHA256,
|
||||||
@ -31,14 +34,13 @@ Documentation for rhash
|
|||||||
%autosetup -n RHash-%{version}
|
%autosetup -n RHash-%{version}
|
||||||
sed -i -e '/^INSTALL_SHARED/s/644/755/' librhash/Makefile
|
sed -i -e '/^INSTALL_SHARED/s/644/755/' librhash/Makefile
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
./configure --prefix=%{_prefix} --exec-prefix=%{_prefix} --bindir=%{_bindir} --sysconfdir=%{_sysconfdir} --libdir=%{_libdir} --mandir=%{_mandir} --enable-lib-shared --enable-gettext
|
||||||
%make_build OPTFLAGS="%{optflags}" OPTLDFLAGS="-g %{?__global_ldflags}" build-shared
|
%make_build OPTFLAGS="%{optflags}" OPTLDFLAGS="-g %{?__global_ldflags}" build-shared
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} PREFIX=%{_prefix} LIBDIR=%{_libdir} install-shared install-lib-shared
|
%make_install
|
||||||
make DESTDIR=%{buildroot} PREFIX=%{_prefix} LIBDIR=%{_libdir} -C librhash install-so-link install-headers
|
make DESTDIR=%{buildroot} -C librhash install-so-link install-lib-headers
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test-shared
|
make test-shared
|
||||||
@ -58,12 +60,13 @@ make test-shared
|
|||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%doc README
|
%doc ChangeLog README.md
|
||||||
%{_mandir}/man1/*.1*
|
%{_mandir}/man1/*.1*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 20 2020 jinzhimin<jinzhimin2@huawei.com> - 1.4.0-1
|
||||||
|
- Upgrade to 1.4.0
|
||||||
|
|
||||||
* Sat Dec 4 2019 lihao <lihao129@huawei.com> - 1.3.5-5
|
* Sat Dec 4 2019 lihao <lihao129@huawei.com> - 1.3.5-5
|
||||||
- Bump release for updating binary package in OBS
|
- Bump release for updating binary package in OBS
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user