import tinycdb-0.78-18.el9

This commit is contained in:
CentOS Sources 2022-03-01 06:30:32 -05:00 committed by Stepan Oksanichenko
parent 89c2d66c29
commit 64e8afbed6
1 changed files with 10 additions and 6 deletions

View File

@ -1,15 +1,15 @@
Name: tinycdb
Summary: Utility and library for manipulating constant databases
Version: 0.78
Release: 17%{?dist}
Release: 18%{?dist}
License: Public Domain
URL: http://www.corpit.ru/mjt/tinycdb.html
Source0: http://www.corpit.ru/mjt/%{name}/%{name}-%{version}.tar.gz
# taken from the 0.77 tarball
Source1: libcdb.pc
BuildRequires: make
BuildRequires: gcc
BuildRequires: make
BuildRequires: gcc
%description
tinycdb is a small, fast and reliable utility and subroutine library for
creating and reading constant databases. The database structure is tuned
@ -35,7 +35,7 @@ cp %{SOURCE1} debian/
sed -i -e 's\/lib\/%{_lib}\g' debian/libcdb.pc
%build
make %{?_smp_mflags} staticlib sharedlib cdb-shared CFLAGS="%{optflags}"
make %{?_smp_mflags} staticlib sharedlib cdb-shared CFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}"
%install
mkdir -p %{buildroot}%{_libdir}
@ -62,6 +62,10 @@ cp -p debian/libcdb.pc %{buildroot}%{_libdir}/pkgconfig/libcdb.pc
%{_libdir}/pkgconfig/*.pc
%changelog
* Tue Feb 15 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 0.78-18
- Honoured distribution LDFLAGS
Resolves: rhbz#2044894
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.78-17
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688