smani pushed to libwebp (el6). "EL6 tweaks"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Mar 27 18:09:19 UTC 2015


>From 04ced7e396fc9543a3b8f39e695adf9eb65956bf Mon Sep 17 00:00:00 2001
From: Sandro Mani <manisandro at gmail.com>
Date: Fri, 27 Mar 2015 19:08:58 +0100
Subject: EL6 tweaks


diff --git a/libwebp.spec b/libwebp.spec
index b235816..bb5e3a4 100644
--- a/libwebp.spec
+++ b/libwebp.spec
@@ -83,7 +83,7 @@ swig -ignoremissing -I../src -java \
     -outdir java/com/google/webp \
     -o libwebp_java_wrap.c libwebp.swig
 
-gcc %{optflags} -shared \
+gcc %{optflags} -fPIC -shared \
     -I/usr/lib/jvm/java/include \
     -I/usr/lib/jvm/java/include/linux \
     -I../src \
@@ -115,7 +115,7 @@ cp swig/*.jar swig/*.so %{buildroot}/%{_libdir}/%{name}-java/
 
 %files -n %{name}
 %doc README PATENTS NEWS AUTHORS
-%license COPYING
+%doc COPYING
 %{_libdir}/%{name}.so.5*
 %{_libdir}/%{name}decoder.so.1*
 %{_libdir}/%{name}demux.so.1*
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/libwebp.git/commit/?h=el6&id=04ced7e396fc9543a3b8f39e695adf9eb65956bf


More information about the scm-commits mailing list