diff --git a/libwebp.spec b/libwebp.spec index be33260e437ef5db0b77ce93d2b15775d1c46b6c..2196be289b6a5cf4631ed6b7e3f105ffd369e8c0 100644 --- a/libwebp.spec +++ b/libwebp.spec @@ -1,8 +1,9 @@ +%define anolis_release .0.1 %global _hardened_build 1 Name: libwebp Version: 1.0.0 -Release: 5%{?dist} +Release: 5%{anolis_release}%{?dist} URL: http://webmproject.org/ Summary: Library and tools for the WebP graphics format # Additional IPR is licensed as well. See PATENTS file for details @@ -67,6 +68,13 @@ Requires: jpackage-utils %description java Java bindings for libwebp. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description doc +Doc pages for %{name}. %prep %autosetup -p1 @@ -129,7 +137,6 @@ cp swig/*.jar swig/*.so %{buildroot}/%{_libdir}/%{name}-java/ %{_mandir}/man*/* %files -n %{name} -%doc README PATENTS NEWS AUTHORS %license COPYING %{_libdir}/%{name}.so.7* %{_libdir}/%{name}decoder.so.3* @@ -145,8 +152,13 @@ cp swig/*.jar swig/*.so %{buildroot}/%{_libdir}/%{name}-java/ %doc libwebp_jni_example.java %{_libdir}/%{name}-java/ +%files doc +%doc README PATENTS NEWS AUTHORS %changelog +* Wed Jul 20 2022 Xiaoping Liu - 1.0.0-5.0.1 +- Add doc sub package + * Thu May 27 2021 Martin Stransky - 1.0.0-5 - Added fixes for rhbz#1956853, rhbz#1956856, rhbz#1956868, rhbz#1956917