Clean spec file 80/20980/2
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Wed, 14 May 2014 09:39:55 +0000 (11:39 +0200)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Wed, 14 May 2014 09:43:31 +0000 (11:43 +0200)
* Use %reconfigure instead of %autogen
* Replace tabs with spaces

Change-Id: Ia35bb22912aae207acdfd63eb98ca590a65cc470
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
packaging/tizen-platform-config.spec

index 5745a3e..0030c15 100644 (file)
@@ -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}/*
-