diff --git a/libmaxminddb.spec b/libmaxminddb.spec index bc3d280224cce7ab7bc8d151e0cf44d7ddb28c66..25dbb092ba3ac80443fb93d07779a374ebd9b471 100644 --- a/libmaxminddb.spec +++ b/libmaxminddb.spec @@ -1,7 +1,8 @@ +%define anolis_release .0.1 Name: libmaxminddb Summary: C library for the MaxMind DB file format Version: 1.2.0 -Release: 10%{?dist} +Release: 10%{anolis_release}%{?dist} URL: https://maxmind.github.io/libmaxminddb Source0: https://github.com/maxmind/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz @@ -27,6 +28,14 @@ Summary: Development header files for libmaxminddb The package contains development header files for the libmaxminddb library and the mmdblookup utility which allows IP address lookup in a MaxMind DB file. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %setup -q @@ -75,14 +84,19 @@ EOF %files devel %license NOTICE -%doc Changes.md %{_includedir}/maxminddb.h %{_includedir}/maxminddb_config*.h %{_libdir}/libmaxminddb.so %{_libdir}/pkgconfig/libmaxminddb.pc %{_mandir}/man3/* +%files doc +%doc Changes.md AUTHORS README.md + %changelog +* Tue Jul 19 2022 Bo Ren - 1.2.0-10.0.1 +- Add doc sub package + * Mon Jun 08 2020 Michal Ruprich - 1.2.0-10 - Related: #1642001 - Obsoleting -devel-debuginfo to enable clean update path