From 62265d022a4712a6ec5ebb027fc7e0a6e7e32ec6 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 2 Oct 2012 19:24:45 +0900 Subject: [PATCH] move gettextize to devel and update msghack to GPL v3 should fix various rpmlint errors --- gettext.spec | 10 ++++++++-- msghack.py | 11 ++++------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/gettext.spec b/gettext.spec index 065e30a..cec7b59 100644 --- a/gettext.spec +++ b/gettext.spec @@ -6,7 +6,7 @@ Summary: GNU libraries and utilities for producing multi-lingual messages Name: gettext Version: 0.18.1.1 -Release: 16%{?dist} +Release: 17%{?dist} License: GPLv3+ and LGPLv2+ Group: Development/Tools URL: http://www.gnu.org/software/gettext/ @@ -282,6 +282,7 @@ fi %doc gettext-runtime/intl/COPYING* %{_bindir}/* %exclude %{_bindir}/autopoint +%exclude %{_bindir}/gettextize %{_infodir}/gettext* %exclude %{_mandir}/man1/autopoint.1* %{_mandir}/man1/* @@ -291,7 +292,6 @@ fi %endif %dir %{_datadir}/%{name} %{_datadir}/%{name}/ABOUT-NLS -%{_datadir}/%{name}/intl %{_datadir}/%{name}/po %{_datadir}/%{name}/styles @@ -301,6 +301,7 @@ fi %files devel %doc gettext-runtime/man/*.3.html ChangeLog %{_bindir}/autopoint +%{_bindir}/gettextize %{_datadir}/%{name}/projects/ %{_datadir}/%{name}/config.rpath %{_datadir}/%{name}/*.h @@ -313,6 +314,7 @@ fi %{_libdir}/preloadable_libintl.so %{_mandir}/man1/autopoint.1* %{_mandir}/man3/* +%{_datadir}/%{name}/intl %{_datadir}/%{name}/javaversion.class %doc gettext-runtime/intl-java/javadoc* %if %{with java} @@ -337,6 +339,10 @@ fi %{_emacs_sitelispdir}/%{name}/*.el %changelog +* Tue Oct 2 2012 Jens Petersen - 0.18.1.1-17 +- move gettextize to the devel subpackage with its source data files +- update msghack to GPL v3 + * Fri Jul 27 2012 Jens Petersen - 0.18.1.1-16 - patch gnulib since glibc and C11 dropped gets diff --git a/msghack.py b/msghack.py index 8d700e9..0e16104 100755 --- a/msghack.py +++ b/msghack.py @@ -1,13 +1,11 @@ #!/usr/bin/python ## -*- coding: utf-8 -*- -## Copyright (C) 2001, 2008 Red Hat, Inc. +## Copyright (C) 2001, 2004, 2008, 2012 Red Hat, Inc. ## Copyright (C) 2001 Trond Eivind Glomsrød -## v0.2 - 2001-08-21 - -## This program is free software; you can redistribute it and/or modify +## This program is free software: you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2 of the License, or +## the Free Software Foundation, either version 3 of the License, or ## (at your option) any later version. ## This program is distributed in the hope that it will be useful, @@ -16,8 +14,7 @@ ## GNU General Public License for more details. ## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software -## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +## along with this program. If not, see . """ A msghack replacement