Compare commits

...

No commits in common. "c8s" and "c9" have entirely different histories.
c8s ... c9

1 changed files with 36 additions and 8 deletions

View File

@ -1,14 +1,15 @@
Name: tinycdb
Summary: Utility and library for manipulating constant databases
Version: 0.78
Release: 9%{?dist}
Group: System Environment/Libraries
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
%description
tinycdb is a small, fast and reliable utility and subroutine library for
creating and reading constant databases. The database structure is tuned
@ -18,7 +19,6 @@ This package contains tinycdb utility and shared library.
%package devel
Summary: Development files for tinycdb
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
@ -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}
@ -46,8 +46,7 @@ rm -f %{buildroot}%{_libdir}/lib*.a
mkdir -p %{buildroot}%{_libdir}/pkgconfig
cp -p debian/libcdb.pc %{buildroot}%{_libdir}/pkgconfig/libcdb.pc
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%doc NEWS ChangeLog
@ -63,6 +62,35 @@ 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
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.78-16
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild