diff --git a/libfastjson.spec b/libfastjson.spec index c7c71ccdd234bfab5def001c0af1af85f33e8f06..17c38197841e23dae661adc026355742b4445cf3 100644 --- a/libfastjson.spec +++ b/libfastjson.spec @@ -1,6 +1,8 @@ +%define anolis_release .0.1 + Name: libfastjson Version: 0.99.9 -Release: 1%{?dist} +Release: 1%{anolis_release}%{?dist} Summary: A JSON implementation in C License: MIT URL: https://github.com/rsyslog/libfastjson @@ -24,6 +26,14 @@ Requires: %{name}%{?_isa} = %{version}-%{release} This package contains libraries and header files for developing applications that use libfastjson. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %setup -q @@ -52,7 +62,6 @@ make V=1 check %files %{!?_licensedir:%global license %%doc} %license COPYING -%doc AUTHORS ChangeLog README.html %{_libdir}/libfastjson.so.* %files devel @@ -60,7 +69,13 @@ make V=1 check %{_libdir}/libfastjson.so %{_libdir}/pkgconfig/libfastjson.pc +%files doc +%doc AUTHORS ChangeLog README.html + %changelog +* Mon Jul 18 2022 DengXiewei - 0.99.9-1.0.1 +- Add doc sub package + * Thu Apr 22 2021 Attila Lakatos - 0.99.9-1 - rebase to v0.99.9 Resolves: rhbz#1936807