diff --git a/gettext.spec b/gettext.spec index 91b718001a682f33bb53d4c74843722a12ad2569..c3ad4819eed0f871ed314209680ce90d2b41053b 100644 --- a/gettext.spec +++ b/gettext.spec @@ -1,11 +1,10 @@ -%define anolis_release .0.1 %bcond_with jar %bcond_with java Summary: GNU libraries and utilities for producing multi-lingual messages Name: gettext Version: 0.21 -Release: 7%{anolis_release}%{?dist} +Release: 7%{?dist} # The following are licensed under LGPLv2+: # - libintl and its headers # - libasprintf and its headers @@ -159,13 +158,6 @@ BuildArch: noarch This program can be used to alter .po files in ways no sane mind would think about. -%package doc -Summary: Documents for %{name} -BuildArch: noarch -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description doc -Doc pages for %{name}. %prep %autosetup -S git @@ -289,6 +281,11 @@ make check LIBUNISTRING=-lunistring %files -f %{name}.lang %license COPYING +%doc AUTHORS gettext-runtime/BUGS +%doc gettext-tools/misc/DISCLAIM README +%doc NEWS THANKS +%doc gettext-runtime/man/*.1.html +%doc gettext-runtime/intl/COPYING* %{_bindir}/envsubst %{_bindir}/gettext %{_bindir}/gettext.sh @@ -373,17 +370,7 @@ make check LIBUNISTRING=-lunistring %{_bindir}/msghack %{_mandir}/man1/msghack.1* -%files doc -%doc AUTHORS gettext-runtime/BUGS -%doc gettext-tools/misc/DISCLAIM README -%doc NEWS THANKS -%doc gettext-runtime/man/*.1.html -%doc gettext-runtime/intl/COPYING* - %changelog -* Thu Nov 24 2022 Bo Ren 0.21-7.0.1 -- Add doc sub package - * Mon Aug 09 2021 Mohan Boddu - 0.21-7 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688