diff --git a/libtdb.spec b/libtdb.spec index 1f47463f4e482921341d5c6689b4f3e26200de0c..a3d451a9c337be3bdd47692d423a66f20768c96f 100644 --- a/libtdb.spec +++ b/libtdb.spec @@ -1,10 +1,11 @@ +%define anolis_release .0.1 %if 0%{?fedora} || 0%{?rhel} > 7 %global with_python3 1 %endif Name: libtdb Version: 1.4.4 -Release: 1%{?dist} +Release: 1%{anolis_release}%{?dist} Summary: The tdb library License: LGPLv3+ URL: http://tdb.samba.org/ @@ -26,6 +27,7 @@ BuildRequires: docbook-style-xsl BuildRequires: python3-devel %endif +Requires: glibc Provides: bundled(libreplace) Obsoletes: python2-tdb < 1.4.2-1 @@ -56,6 +58,14 @@ Requires: libtdb = %{version}-%{release} Python3 bindings for libtdb %endif +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %autosetup -n tdb-%{version} -p1 @@ -77,7 +87,6 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_libdir}/libtdb.so.* %files devel -%doc docs/README %{_includedir}/tdb.h %{_libdir}/libtdb.so %{_libdir}/pkgconfig/tdb.pc @@ -101,7 +110,13 @@ make install DESTDIR=$RPM_BUILD_ROOT %ldconfig_scriptlets +%files doc +%doc docs/README + %changelog +* Fri Jul 15 2022 Weisson - 1.4.4-1.0.1 +- Add requires and provides + * Thu Nov 25 2021 Pavel Filipenský - 1.4.4-1 * resolves: rhbz#2013604 - Rebase to version 1.4.4