[itstool] Add requires on libxml2-python since itstool uses it Drop redundant defattr Add NEWS to doc

Rahul Sundaram sundaram at fedoraproject.org
Sun Aug 7 14:47:48 UTC 2011


commit b06f5cd75b50e71fea46645650b820eede139c48
Author: Rahul Sundaram <sundaram at fedoraproject.org>
Date:   Sun Aug 7 20:11:28 2011 +0530

    Add requires on libxml2-python since itstool uses it
    Drop redundant defattr
    Add NEWS to doc

 itstool.spec |   17 ++++++++---------
 1 files 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 <sundaram at fedoraproject.org> 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 <shaunm at gnome.org> 1.1.0-1
 - Update to itstool 1.1.0
 


More information about the scm-commits mailing list