From e3066a64fdbd2329b01d1a6526ae827368291d30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Tue, 15 Feb 2022 18:31:11 +0100 Subject: [PATCH] Honour distribution LDFLAGS (e.g. for the annocheck) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also removed spurious whitespaces and fixed mixed tabs and spaces. Signed-off-by: Jaroslav Škarvada --- tinycdb.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tinycdb.spec b/tinycdb.spec index b44c4ad..f197b7f 100644 --- a/tinycdb.spec +++ b/tinycdb.spec @@ -8,10 +8,10 @@ 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}