From 70872154ce8cd1d73402b82d5c5f96903c15b144 Mon Sep 17 00:00:00 2001 From: =?utf8?q?K=C3=A9vin=20THIERRY?= Date: Wed, 14 May 2014 11:39:55 +0200 Subject: [PATCH] Clean spec file MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * Use %reconfigure instead of %autogen * Replace tabs with spaces Change-Id: Ia35bb22912aae207acdfd63eb98ca590a65cc470 Signed-off-by: Kévin THIERRY --- packaging/tizen-platform-config.spec | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/packaging/tizen-platform-config.spec b/packaging/tizen-platform-config.spec index 5745a3e..0030c15 100644 --- a/packaging/tizen-platform-config.spec +++ b/packaging/tizen-platform-config.spec @@ -2,15 +2,15 @@ Name: tizen-platform-config Version: 1.0 -Release: 1 -Summary: Tizen Platform Configuration -License: MIT +Release: 0 +Summary: Tizen Platform Configuration +License: MIT Url: http://www.tizen.org Group: System/Configuration Source0: %{name}-%{version}.tar.gz Source1: %{name}-rpmlintrc -Source1001: %{name}.manifest -BuildRequires: tizen-platform-wrapper +Source1001: %{name}.manifest +BuildRequires: tizen-platform-wrapper # the main package only contains a config file but other dependent packages # will contain binary. So, we can't build a noarch package and have to avoid @@ -20,26 +20,26 @@ BuildRequires: tizen-platform-wrapper Tizen Platform Configuration - variables definitions %package -n %{libname} -Summary: Tizen Platform Configuration - helper library -Group: System/Libraries +Summary: Tizen Platform Configuration - helper library +Group: System/Libraries License: LGPL-2.0 -Requires: %{name} = %{version} +Requires: %{name} = %{version} %description -n %{libname} Tizen Platform Configuration - helper library to lookup Tizen variables easily %package -n %{libname}-devel -Summary: Tizen Platform Configuration - helper libray headers, RPM macros -Group: Development/Libraries +Summary: Tizen Platform Configuration - helper libray headers, RPM macros +Group: Development/Libraries License: LGPL-2.0 -Requires: %{libname} = %{version} +Requires: %{libname} = %{version} %description -n %{libname}-devel Tizen Platform Configuration - helper library headers to include in source code, RPM macros to call in spec files %package -n %{name}-tools -Summary: Tizen Platform Configuration - tools -Group: System/Utilities +Summary: Tizen Platform Configuration - tools +Group: System/Utilities License: LGPL-2.0 -Requires: %{libname} = %{version} +Requires: %{libname} = %{version} %description -n %{name}-tools Tizen Platform Configuration - helper program to lookup Tizen variables easily @@ -48,8 +48,8 @@ Tizen Platform Configuration - helper program to lookup Tizen variables easily cp %{SOURCE1001} . %build -%autogen \ - --disable-static +%reconfigure \ + --disable-static make %{?_smp_mflags} @@ -83,4 +83,3 @@ make check %files -n %{name}-tools %manifest %{name}.manifest %{_bindir}/* - -- 2.7.4