Fix compile error for Common Profile. 57/84957/2 submit/tizen/20160824.024216
authorHyihong Chae <hh.chae@samsung.com>
Tue, 23 Aug 2016 04:17:40 +0000 (13:17 +0900)
committerHyihong Chae <hh.chae@samsung.com>
Tue, 23 Aug 2016 04:38:27 +0000 (13:38 +0900)
Change-Id: I9c49fa44f08f9fa5b9149588df8e70c6c9c3689d
Signed-off-by: HyiHong Chae <hh.chae@samsung.com>
packaging/autogen.sh [moved from autogen.sh with 100% similarity]
packaging/libmtp.spec

similarity index 100%
rename from autogen.sh
rename to packaging/autogen.sh
index e628350..cc4d63c 100755 (executable)
@@ -7,6 +7,7 @@ Release:    1
 Group:      Network & Connectivity/Other
 License:    LGPL-2.1
 Source0:    libmtp-%{version}.tar.gz
+Source1001: autogen.sh
 
 ExcludeArch: %ix86 x86_64
 
@@ -32,10 +33,12 @@ This package contains the development files.
 
 %prep
 %setup -q -n %{name}-%{version}
+cp %{SOURCE1001} .
 
 %build
 export CFLAGS+=" -fPIC -DTIZEN_EXT"
 export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed -Wl,--rpath=%{_libdir}"
+#chmod 755 ./autogen.sh
 %autogen
 %configure --prefix=/usr --disable-static
 make %{?jobs:-j%jobs}