Hello community,

here is the log from the commit of package premake4 for openSUSE:Factory 
checked in at 2015-12-24 12:16:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/premake4 (Old)
 and      /work/SRC/openSUSE:Factory/.premake4.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "premake4"

Changes:
--------
--- /work/SRC/openSUSE:Factory/premake4/premake4.changes        2013-11-07 
17:37:57.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.premake4.new/premake4.changes   2015-12-24 
12:16:37.000000000 +0100
@@ -1,0 +2,6 @@
+Sat Dec 19 09:36:43 UTC 2015 - [email protected]
+
+- Fix building with lua-5.1
+- Cleanup spec file with spec-cleaner
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ premake4.spec ++++++
--- /var/tmp/diff_new_pack.rnedjW/_old  2015-12-24 12:16:38.000000000 +0100
+++ /var/tmp/diff_new_pack.rnedjW/_new  2015-12-24 12:16:38.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package premake4
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,23 +17,23 @@
 
 
 Name:           premake4
+Version:        4.4beta4
+Release:        0
 Summary:        Powerfully simple build configuration
 License:        BSD-3-Clause
 Group:          Development/Tools/Building
-Version:        4.4beta4
-Release:        0
 Url:            http://industriousone.com/premake
 Source:         
http://downloads.sourceforge.net/project/premake/Premake/4.4/premake-4.4-beta4-src.zip
 # PATCH-FIX-OPENSUSE premake-4.4.patch [email protected] -- use shared 
lua;
 Patch0:         premake-4.4.patch
+BuildRequires:  pkg-config
+BuildRequires:  unzip
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} > 1210
 BuildRequires:  lua51-devel
 %else
 BuildRequires:  lua-devel
 %endif
-BuildRequires:  pkg-config
-BuildRequires:  unzip
 
 %description
 Premake is a build configuration tool. Describe your C, C++, or C# software 
project
@@ -53,15 +53,26 @@
 
 %build
 pushd build/gmake.unix
-make Premake4 config=debug DEFINES="-DNDEBUG" INCLUDES="" CFLAGS="\`pkg-config 
lua --cflags\` \$(CPPFLAGS) \$(ARCH) \$(RPM_OPT_FLAGS)" LDFLAGS="-rdynamic" 
LIBS="\`pkg-config lua --libs\`" verbose=1 %{?_smp_mflags}
+make \
+  Premake4 \
+  config=debug \
+  DEFINES="-DNDEBUG" \
+  INCLUDES="" \
+       %if 0%{?suse_version} > 1210
+  CFLAGS="\`pkg-config lua-5.1 --cflags\` \$(CPPFLAGS) \$(ARCH) 
\$(RPM_OPT_FLAGS)" \
+  LDFLAGS="-rdynamic" LIBS="\`pkg-config lua-5.1 --libs\`" verbose=1 
%{?_smp_mflags} 
+       %else
+  CFLAGS="\`pkg-config lua --cflags\` \$(CPPFLAGS) \$(ARCH) \$(RPM_OPT_FLAGS)" 
\
+  LDFLAGS="-rdynamic" LIBS="\`pkg-config lua --libs\`" verbose=1 
%{?_smp_mflags}
+       %endif
 popd
 
 %install
-install -D -m755 bin/debug/premake4 %{buildroot}%{_bindir}/%{name}
+install -D -m 0755 bin/debug/premake4 %{buildroot}%{_bindir}/%{name}
 
 %files
 %defattr(-,root,root)
-%{_bindir}/%{name}
 %doc CHANGES.txt LICENSE.txt README.txt
+%{_bindir}/%{name}
 
 %changelog



Reply via email to