summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackaging/libmtp.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/libmtp.spec b/packaging/libmtp.spec
index cc4d63c..fbcf31d 100755
--- a/packaging/libmtp.spec
+++ b/packaging/libmtp.spec
@@ -34,11 +34,12 @@ This package contains the development files.
%prep
%setup -q -n %{name}-%{version}
cp %{SOURCE1001} .
+chmod 755 %{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}