From bd66c6a19dc938d774f29cfb632292f06c7e481c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Tue, 15 Feb 2022 18:44:40 +0100 Subject: [PATCH] Honoured distribution LDFLAGS --- .tinycdb.metadata | 1 + tinycdb.spec | 16 ++++++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 .tinycdb.metadata diff --git a/.tinycdb.metadata b/.tinycdb.metadata new file mode 100644 index 0000000..fef122a --- /dev/null +++ b/.tinycdb.metadata @@ -0,0 +1 @@ +ade42ee1e7c56f66a63cb933206c089b9983adba tinycdb-0.78.tar.gz diff --git a/tinycdb.spec b/tinycdb.spec index f29342c..fbb033a 100644 --- a/tinycdb.spec +++ b/tinycdb.spec @@ -1,17 +1,17 @@ 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 +tinycdb is a small, fast and reliable utility and subroutine library for creating and reading constant databases. The database structure is tuned for fast reading. @@ -25,7 +25,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release} tinycdb is a small, fast and reliable utility set and subroutine library for creating and reading constant databases. -This package contains tinycdb development library and header file for +This package contains tinycdb development library and header file for developing applications that use %{name}. %prep @@ -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 - 0.78-18 +- Honoured distribution LDFLAGS + Resolves: rhbz#2044894 + * Tue Aug 10 2021 Mohan Boddu - 0.78-17 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688