forked from pool/libmaa
Accepting request 793556 from home:alois:branches:Education
- Update to version 1.4.7 * Fix incorrect work of set_* where hash function generates full ulong_t hash value * hsh_string_hash generates full 64bit hash value on platforms where sizeof(long) == 8 * Improve build and test system * tests/err: minor fix, target "test" should not remove _mkc_* and .o files * Avoid trailing \n in format argument for err_* functions, no need for it any longer * tests/err/errtest.c: fix another compilation failure due to __wur (warning used result) version 1.4.6 * Add missing fix (compilation failure) for tests/err/errtest.c version 1.4.5 * err_* functions: + Fix segfault caused by "ap" is used twice. Solution is to va_copy it and use copied "ap" for printing to stderr. + Improve formatting (no empty lines in log files) * err_set_program_name: handle correctly NULL argument * log_mkpath function: avoid use of alloca(3) * hsh_pointer_compare function now follows -1/0/1 logic * Add more tests for log_*, err_*, hsh_* and set_* function - Fix build with gcc 9.x - Drop Group tag - Spec cleanup OBS-URL: https://build.opensuse.org/request/show/793556 OBS-URL: https://build.opensuse.org/package/show/Education/libmaa?expand=0&rev=11
This commit is contained in:
parent
f8df94f5cc
commit
80226aa2c2
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:fbd739e8467c4b7213594b172cfe3059443127313f8365224aa9c269498869e2
|
|
||||||
size 172643
|
|
3
libmaa-1.4.7.tar.gz
Normal file
3
libmaa-1.4.7.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4e01a9ebc5d96bc9284b6706aa82bddc2a11047fa9bd02e94cf8753ec7dcb98e
|
||||||
|
size 173728
|
@ -1,3 +1,36 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 13 08:56:32 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>
|
||||||
|
|
||||||
|
- Update to version 1.4.7
|
||||||
|
* Fix incorrect work of set_* where hash function generates
|
||||||
|
full ulong_t hash value
|
||||||
|
* hsh_string_hash generates full 64bit hash value on platforms
|
||||||
|
where sizeof(long) == 8
|
||||||
|
* Improve build and test system
|
||||||
|
* tests/err: minor fix, target "test" should not remove _mkc_*
|
||||||
|
and .o files
|
||||||
|
* Avoid trailing \n in format argument for err_* functions, no
|
||||||
|
need for it any longer
|
||||||
|
* tests/err/errtest.c: fix another compilation failure due to
|
||||||
|
__wur (warning used result)
|
||||||
|
version 1.4.6
|
||||||
|
* Add missing fix (compilation failure) for tests/err/errtest.c
|
||||||
|
version 1.4.5
|
||||||
|
* err_* functions:
|
||||||
|
+ Fix segfault caused by "ap" is used twice. Solution is to
|
||||||
|
va_copy it and use copied "ap" for printing to stderr.
|
||||||
|
+ Improve formatting (no empty lines in log files)
|
||||||
|
* err_set_program_name: handle correctly NULL argument
|
||||||
|
* log_mkpath function: avoid use of alloca(3)
|
||||||
|
* hsh_pointer_compare function now follows -1/0/1 logic
|
||||||
|
* Add more tests for log_*, err_*, hsh_* and set_* function
|
||||||
|
|
||||||
|
- Fix build with gcc 9.x
|
||||||
|
|
||||||
|
- Drop Group tag
|
||||||
|
|
||||||
|
- Spec cleanup
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 23 22:06:51 MSK 2019 - vle@gmx.net
|
Tue Apr 23 22:06:51 MSK 2019 - vle@gmx.net
|
||||||
|
|
||||||
|
19
libmaa.spec
19
libmaa.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libmaa
|
# spec file for package libmaa
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,20 +17,17 @@
|
|||||||
|
|
||||||
|
|
||||||
%define soname 4
|
%define soname 4
|
||||||
|
|
||||||
Name: libmaa
|
Name: libmaa
|
||||||
Version: 1.4.4
|
Version: 1.4.7
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library providing many low-level data structures
|
Summary: Library providing many low-level data structures
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Libraries/C and C++
|
URL: http://www.dict.org
|
||||||
Url: http://www.dict.org
|
|
||||||
Source0: https://downloads.sourceforge.net/dict/%{name}-%{version}.tar.gz
|
Source0: https://downloads.sourceforge.net/dict/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: mk-configure
|
BuildRequires: mk-configure
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: pkgconfig(zlib)
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The libmaa library provides many low-level data structures which can
|
The libmaa library provides many low-level data structures which can
|
||||||
be used for writing compilers, hash tables, sets, lists,
|
be used for writing compilers, hash tables, sets, lists,
|
||||||
debugging support, and memory management. libmaa was originally
|
debugging support, and memory management. libmaa was originally
|
||||||
@ -63,7 +60,7 @@ BuildArch: noarch
|
|||||||
This RPM contains the documentation files for libmaa.
|
This RPM contains the documentation files for libmaa.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup
|
||||||
|
|
||||||
%define env \
|
%define env \
|
||||||
unset MAKEFLAGS \
|
unset MAKEFLAGS \
|
||||||
@ -71,6 +68,9 @@ This RPM contains the documentation files for libmaa.
|
|||||||
export NOSUBDIR=doc
|
export NOSUBDIR=doc
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150200
|
||||||
|
mkc_compiler_settings
|
||||||
|
%endif
|
||||||
%{env}
|
%{env}
|
||||||
%{mkcmake}
|
%{mkcmake}
|
||||||
|
|
||||||
@ -79,7 +79,6 @@ This RPM contains the documentation files for libmaa.
|
|||||||
%{mkcmake} install DESTDIR=%{?buildroot}
|
%{mkcmake} install DESTDIR=%{?buildroot}
|
||||||
|
|
||||||
%post -n %{name}%{soname} -p /sbin/ldconfig
|
%post -n %{name}%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %{name}%{soname} -p /sbin/ldconfig
|
%postun -n %{name}%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %{name}%{soname}
|
%files -n %{name}%{soname}
|
||||||
|
Loading…
Reference in New Issue
Block a user