Hello community,

here is the log from the commit of package lua51-luajit for openSUSE:Factory 
checked in at 2016-07-14 09:48:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lua51-luajit (Old)
 and      /work/SRC/openSUSE:Factory/.lua51-luajit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lua51-luajit"

Changes:
--------
--- /work/SRC/openSUSE:Factory/lua51-luajit/lua51-luajit.changes        
2016-06-07 23:48:03.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.lua51-luajit.new/lua51-luajit.changes   
2016-07-14 09:48:10.000000000 +0200
@@ -1,0 +2,12 @@
+Sun Jul 10 14:32:20 UTC 2016 - [email protected]
+
+- remove redundant pkgconfig(luajit)
+
+-------------------------------------------------------------------
+Mon Jun 20 07:55:21 UTC 2016 - [email protected]
+
+- Add provider for luajit-devel = %{version} to allow that in spec
+  as build dependency
+- Fix multilib building wrt bnc#976720
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lua51-luajit.spec ++++++
--- /var/tmp/diff_new_pack.kwirXI/_old  2016-07-14 09:48:11.000000000 +0200
+++ /var/tmp/diff_new_pack.kwirXI/_new  2016-07-14 09:48:11.000000000 +0200
@@ -18,6 +18,9 @@
 
 %define lua_suffix 5_1
 %define lib_suffix 2
+%ifarch x86_64 aarch64 s390x
+%global multilib_flag MULTILIB=lib64
+%endif
 Name:           lua51-luajit
 Version:        2.0.4
 Release:        0
@@ -26,15 +29,14 @@
 Group:          Development/Languages/Lua
 Url:            http://www.luajit.com/
 Source:         http://luajit.org/download/LuaJIT-%{version}.tar.gz
-Patch:          luajit-lua-versioned.patch
-BuildRequires:  pkg-config
+Patch0:         luajit-lua-versioned.patch
+BuildRequires:  pkgconfig
 Requires:       libluajit-%{lua_suffix}-%{lib_suffix} = %{version}
-Requires(preun):       update-alternatives
 Requires(post):        update-alternatives
-Provides:       luajit = %{version}
+Requires(preun): update-alternatives
 Conflicts:      otherproviders(luajit)
+Provides:       luajit = %{version}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-
 # lj_arch.h do not support ppc64/ppc64le
 ExcludeArch:    ppc64 ppc64le
 
@@ -53,18 +55,17 @@
 Group:          Development/Languages/Lua
 Requires:       %{name} = %{version}
 Requires:       libluajit-%{lua_suffix}-%{lib_suffix} = %{version}
-Provides:       luajit-devel = %{version}
 Conflicts:      otherproviders(luajit-devel)
+Provides:       luajit-devel = %{version}
 
 %description devel
 Devel files for luajit package
 
 %prep
 %setup -q -n LuaJIT-%{version}
-%patch -p1
+%patch0 -p1
 # Fix variables
 sed -i "s,PREFIX= %{_prefix}/local,PREFIX= %{_prefix}," Makefile
-sed -i "s,%{_libexecdir},%{_libdir}," etc/luajit.pc
 
 %build
 CFLAGS="%{optflags}" \
@@ -72,14 +73,18 @@
        Q= \
        DYNAMIC_CC="cc -fPIC" \
        LDCONFIG="true" \
-       TARGET_AR="ar rcus"
+       TARGET_AR="ar rcus" \
+       TARGET_STRIP=: \
+       %{?multilib_flag}
 
 %install
 make DESTDIR=%{buildroot} install \
        INSTALL_LIB="%{buildroot}/%{_libdir}" \
        DYNAMIC_CC="cc -fPIC" \
        LDCONFIG="true" \
-       TARGET_AR="ar rcus"
+       TARGET_AR="ar rcus" \
+       TARGET_STRIP=: \
+       %{?multilib_flag}
 # remove static lib, not needed
 rm %{buildroot}/%{_libdir}/*.a
 
@@ -100,7 +105,6 @@
 fi
 
 %post -n libluajit-%{lua_suffix}-%{lib_suffix} -p /sbin/ldconfig
-
 %postun -n libluajit-%{lua_suffix}-%{lib_suffix} -p /sbin/ldconfig
 
 %files


Reply via email to