check for AM_PROG_AR submit/tizen/20130524.151043
authorAnas Nashif <anas.nashif@intel.com>
Fri, 24 May 2013 15:10:15 +0000 (11:10 -0400)
committerAnas Nashif <anas.nashif@intel.com>
Fri, 24 May 2013 15:10:15 +0000 (11:10 -0400)
configure.ac
packaging/location-module.spec

index b011442..359a4ca 100755 (executable)
@@ -8,6 +8,7 @@ AC_CONFIG_SRCDIR([modules])
 AM_INIT_AUTOMAKE([1.10.2 foreign -Wall -Werror])
 
 # Check programs for making executable
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_PROG_INSTALL
index 687d6e1..d43927c 100755 (executable)
@@ -3,7 +3,7 @@ Summary:    Location module
 Version:    0.1.22
 Release:    1
 Group:      System/Libraries
-License:    Apache Licensc, Version 2.0
+License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(gmodule-2.0)
@@ -14,8 +14,6 @@ BuildRequires:  pkgconfig(dlog)
 BuildRequires:  pkgconfig(libcurl)
 BuildRequires:  pkgconfig(json-glib-1.0)
 
-
-
 %description
 Location module
 
@@ -37,7 +35,6 @@ geoclue-nominatim map-service module for location
 make %{?jobs:-j%jobs}
 
 %install
-rm -rf %{buildroot}
 %make_install
 
 %files -n location-geoclue-nominatim