From d474a5c218f8630192ee2bea8d321c245e2c2b89 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Tue, 23 Sep 2014 13:58:13 +0200 Subject: [PATCH] clean spec file MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit - Improve rpmlint score - remove duplicate files [kevin.thierry: Add missing dependency on pkgconfig.] Change-Id: I2e3a9d25bc8c23a6965b8d21ef63503b6ea2ec1f Signed-off-by: Ronan Le Martret Signed-off-by: Kévin THIERRY --- packaging/ibus.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packaging/ibus.spec b/packaging/ibus.spec index 017771c..289e6df 100644 --- a/packaging/ibus.spec +++ b/packaging/ibus.spec @@ -8,6 +8,7 @@ URL: http://code.google.com/p/ibus/ Source0: http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz Source1001: ibus.manifest +BuildRequires: pkgconfig BuildRequires: gettext-devel BuildRequires: libtool BuildRequires: dbus-glib-devel @@ -20,6 +21,7 @@ BuildRequires: pkgconfig(wayland-client) BuildRequires: pygobject-devel BuildRequires: gobject-introspection-devel BuildRequires: vala +BuildRequires: fdupes Requires: %{name}-libs = %{version}-%{release} @@ -82,6 +84,8 @@ rm -fr %{buildroot}%{_datadir}/gtk-doc %find_lang %{name}10 +%fdupes %{buildroot} + %clean rm -rf %{buildroot} @@ -112,7 +116,8 @@ touch --no-create %{_datadir}/icons/hicolor || : %files -f %{name}10.lang %manifest %{name}.manifest %defattr(-,root,root,-) -%doc AUTHORS COPYING README +%license COPYING +%doc AUTHORS README %dir %{python_sitelib}/ibus %{python_sitelib}/ibus/* %dir %{_datadir}/ibus/ -- 2.7.4