diff --git a/gettext.spec b/gettext.spec index c605253..5fd5ac3 100644 --- a/gettext.spec +++ b/gettext.spec @@ -9,7 +9,7 @@ Summary: GNU libraries and utilities for producing multi-lingual messages Name: gettext Version: 0.19.8.1 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv3+ and LGPLv2+ Group: Development/Tools URL: http://www.gnu.org/software/gettext/ @@ -135,6 +135,14 @@ Obsoletes: emacs-%{name}-el < %{version}-%{release} %description -n emacs-%{name} This package provides a major mode for editing po files within GNU Emacs. +%package msghack +Summary: Alter PO files in ways +BuildArch: noarch + +%description msghack +This program can be used to alter .po files in ways no sane mind would +think about. + %prep %autosetup -n %{name}-%{tarversion} -S git @@ -286,8 +294,10 @@ fi %{_bindir}/* %exclude %{_bindir}/autopoint %exclude %{_bindir}/gettextize +%exclude %{_bindir}/msghack %{_infodir}/gettext* %exclude %{_mandir}/man1/autopoint.1* +%exclude %{_mandir}/man1/msghack.1* %{_mandir}/man1/* %{_libdir}/%{name} %if %{with java} @@ -342,7 +352,14 @@ fi %{_emacs_sitelispdir}/%{name}/*.el %{_emacs_sitestartdir}/*.el +%files msghack +%{_bindir}/msghack +%{_mandir}/man1/msghack.1* + %changelog +* Fri Dec 16 2016 Petr Ĺ abata - 0.19.8.1-4 +- Subpackage msghack so that gettext doesn't depend on python + * Tue Nov 29 2016 Pavel Raiskup - 0.19.8.1-3 - devel subpackage to Require 'xz' (rhbz#1399270)