From b06f5cd75b50e71fea46645650b820eede139c48 Mon Sep 17 00:00:00 2001 From: Rahul Sundaram Date: Sun, 7 Aug 2011 20:11:28 +0530 Subject: [PATCH] Add requires on libxml2-python since itstool uses it Drop redundant defattr Add NEWS to doc --- itstool.spec | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/itstool.spec b/itstool.spec index ae639c9..4584d8d 100644 --- a/itstool.spec +++ b/itstool.spec @@ -1,6 +1,6 @@ Name: itstool Version: 1.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: ITS-based XML translation tool Group: Development/Tools @@ -9,36 +9,35 @@ URL: http://itstool.org/ Source0: http://files.itstool.org/itstool/%{name}-%{version}.tar.bz2 BuildArch: noarch +Requires: libxml2-python %description ITS Tool allows you to translate XML documents with PO files, using rules from the W3C Internationalization Tag Set (ITS) to determine what to translate and how to separate it into PO file messages. - %prep %setup -q - %build %configure make %{?_smp_mflags} - %install make install DESTDIR=$RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) -%doc COPYING COPYING.GPL3 +%doc COPYING COPYING.GPL3 NEWS %{_bindir}/itstool %{_datadir}/itstool %doc %{_mandir}/man1/itstool.1.gz - - %changelog +* Sun Aug 07 2011 Rahul Sundaram 1.1.0-2 +- Add requires on libxml2-python since itstool uses it +- Drop redundant defattr +- Add NEWS to doc + * Mon Jun 27 2011 Shaun McCance 1.1.0-1 - Update to itstool 1.1.0