Honoured distribution LDFLAGS

Also removed spurious whitespaces and fixed mixed tabs and spaces.

Resolves: rhbz#2044894

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
Jaroslav Škarvada 2022-02-15 18:44:40 +01:00
parent 3028682204
commit 45accb0cf3

View File

@ -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 <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