The package rpms/premake.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/premake.git/commit/?id=35f0c3e8d3....
Change:
+%ifarch x86_64 i686 ppc64le
Thanks.
Full change:
============
commit 35f0c3e8d3bc0a6b2d10aee4f51a492617191497
Author: topazus <topazus(a)outlook.com>
Date: Fri Apr 28 15:31:28 2023 +0800
Update to latest commit id on 2023.04.20
diff --git a/.gitignore b/.gitignore
index 3fc994e..445993d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/premake-4.3-src.zip
+/premake-core-3f1e4f8ded5ce1397bd286eef5e2ebef02556422.tar.gz
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..503442a
--- /dev/null
+++ b/changelog
@@ -0,0 +1,95 @@
+* Fri Jan 20 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-27
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+
+* Fri Jul 22 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-26
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
+* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-25
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-24
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-23
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Tue Jul 28 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-22
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Thu Jan 30 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-21
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
+* Fri Jul 26 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-20
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Sat Feb 02 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-19
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-18
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-17
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-16
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-15
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Sat Feb 11 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-14
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-13
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Sat Jun 20 2015 Ralf Corsépius <corsepiu(a)fedoraproject.org> - 4.3-12
+- Use '|' instead of '/' as pattern delimiter in sed expression to
filter
+ CFLAGS (Fix FTBFS).
+- Modernize spec.
+- Add %%license.
+
+* Thu Jun 18 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
4.3-11
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Sun Aug 17 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
4.3-10
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Thu Jun 26 2014 Yaakov Selkowitz <yselkowi(a)redhat.com> - 4.3-9
+- Fix FTBFS with lua-5.2 (#1106672)
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
4.3-8
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Sun Aug 04 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
4.3-7
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
4.3-6
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Sat Jul 21 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
4.3-5
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Sat Jan 14 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
4.3-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Wed Feb 09 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
4.3-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Sun Nov 28 2010 Joachim de Groot <jdegroot(a)web.de> - 4.3-2
+- Let rpm handle the man page compression
+
+* Sat Nov 27 2010 Joachim de Groot <jdegroot(a)web.de> - 4.3-1
+- Update to 4.3, thus changed license to BSD
+- Added missing version numbers to changelog
+- Added readline-devel to BuildRequires
+- Added a man page
+
+* Fri Oct 29 2010 Joachim de Groot <jdegroot(a)web.de> - 4.2.1-3
+- Correct building of the debuginfo package
+
+* Fri Oct 29 2010 Joachim de Groot <jdegroot(a)web.de> - 4.2.1-2
+- Implemented changes proposed by Mohamed El Morabity
+
+* Thu Oct 28 2010 Joachim de Groot <jdegroot(a)web.de> - 4.2.1-1
+- Initial version of the package
diff --git a/premake-4.3-manpage.patch b/premake-4.3-manpage.patch
deleted file mode 100644
index ed0710c..0000000
--- a/premake-4.3-manpage.patch
+++ /dev/null
@@ -1,121 +0,0 @@
---- /dev/null 2010-11-27 12:26:27.133923001 +0100
-+++ premake4.1 2010-11-27 15:50:45.550585891 +0100
-@@ -0,0 +1,117 @@
-+.\"Created with GNOME Manpages Editor Wizard
-+.\"http://sourceforge.net/projects/gmanedit2
-+.TH PREMAKE4 1 "November 27, 2010"
-+
-+.SH NAME
-+premake4 \- cross-platform build configuration tool
-+
-+
-+.SH SYNOPSIS
-+.B premake4
-+.RB [ options ]
-+action
-+.RI [ arguments ]
-+
-+
-+.SH DESCRIPTION
-+
-+.B premake4
-+is a build configuration tool that can generate project files for multiple build
environments on multiple platforms.
-+
-+
-+.SH OPTIONS
-+
-+.TP
-+.BI \-\-cc= "VALUE"
-+Choose a C/C++ compiler set; one of:
-+.TS
-+l l.
-+gcc GNU GCC (gcc/g++)
-+ow OpenWatcom
-+.TE
-+
-+
-+.TP
-+.BI \-\-dotnet= "VALUE"
-+Choose a .NET compiler set; one of:
-+.TS
-+l l.
-+msnet Microsoft .NET (csc)
-+mono Novell Mono (mcs)
-+pnet
Portable.NET (cscc)
-+.TE
-+
-+
-+.TP
-+.BI \-\-file= "FILE"
-+Read FILE as a Premake script; default is 'premake4.lua'.
-+
-+
-+.TP
-+.BI \-\-help
-+Display usage information.
-+
-+
-+.TP
-+.BI \-\-os= "VALUE"
-+Generate files for a different operating system; one of:
-+.TS
-+l l.
-+bsd OpenBSD, NetBSD, or FreeBSD
-+linux Linux
-+macosx Apple Mac OS X
-+solaris Solaris
-+windows Microsoft Windows
-+.TE
-+
-+
-+.TP
-+.BI \-\-platform= "VALUE"
-+Add target architecture (if supported by action); one of:
-+.TS
-+l l.
-+x32 32-bit
-+x64 64-bit
-+universal Mac OS X Universal, 32- and 64-bit
-+universal32 Mac OS X Universal, 32-bit only
-+universal64 Mac OS X Universal, 64-bit only
-+ps3 Playstation 3 (experimental)
-+xbox360 Xbox 360 (experimental)
-+.TE
-+
-+
-+.TP
-+.BI \-\-scripts= "path"
-+Search for additional scripts on the given path.
-+
-+.TP
-+.BI \-\-version
-+Display version information.
-+
-+
-+.SH ACTIONS
-+
-+.TS
-+l l.
-+clean Remove all binaries and generated files
-+codeblocks Generate Code::Blocks project files
-+codelite Generate CodeLite project files
-+gmake Generate GNU makefiles for POSIX, MinGW, and Cygwin
-+vs2002 Generate Microsoft Visual Studio 2002 project files
-+vs2003 Generate Microsoft Visual Studio 2003 project files
-+vs2005 Generate Microsoft Visual Studio 2005 project files
-+vs2008 Generate Microsoft Visual Studio 2008 project files
-+vs2010 Generate Visual Studio 2010 project files (experimental)
-+xcode3 Generate Apple Xcode 3 project files (experimental)
-+.TE
-+
-+.SH SEE ALSO
-+
-+For information on how to write
-+.B premake4
-+script files, see
http://industriousone.com/premake
-+
-+.SH AUTHOR
-+premake4 was written by Jason Perkins.
-+
-+This man page was written for the Fedora Project by Joachim de Groot
<jdegroot(a)web.de>.
-\ No newline at end of file
diff --git a/premake-4.3-system-lua.patch b/premake-4.3-system-lua.patch
deleted file mode 100644
index 6a7a43f..0000000
--- a/premake-4.3-system-lua.patch
+++ /dev/null
@@ -1,163 +0,0 @@
---- build/gmake.unix/Premake4.make.orig 2010-11-23 16:52:42.500225376 +0100
-+++ build/gmake.unix/Premake4.make 2010-11-23 16:55:27.576984010 +0100
-@@ -24,12 +24,12 @@
- TARGETDIR = ../../bin/release
- TARGET = $(TARGETDIR)/premake4
- DEFINES += -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN
-- INCLUDES += -I../../src/host/lua-5.1.4/src
-+ INCLUDES += -I/usr/include/lua-5.1
- CPPFLAGS += -MMD -MP $(DEFINES) $(INCLUDES)
- CFLAGS += $(CPPFLAGS) $(ARCH) -Wall -Os
- CXXFLAGS += $(CFLAGS)
- LDFLAGS += -s -rdynamic
-- LIBS += -lm -ldl
-+ LIBS += -lm -ldl -llua-5.1
- RESFLAGS += $(DEFINES) $(INCLUDES)
- LDDEPS +=
- LINKCMD = $(CC) -o $(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(ARCH) $(LIBS)
-@@ -46,12 +46,12 @@
- TARGETDIR = ../../bin/debug
- TARGET = $(TARGETDIR)/premake4
- DEFINES += -D_DEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN
-- INCLUDES += -I../../src/host/lua-5.1.4/src
-+ INCLUDES += -I/usr/include/lua-5.1
- CPPFLAGS += -MMD -MP $(DEFINES) $(INCLUDES)
- CFLAGS += $(CPPFLAGS) $(ARCH) -Wall -g
- CXXFLAGS += $(CFLAGS)
- LDFLAGS += -rdynamic
-- LIBS += -lm -ldl
-+ LIBS += -lm -ldl -llua-5.1
- RESFLAGS += $(DEFINES) $(INCLUDES)
- LDDEPS +=
- LINKCMD = $(CC) -o $(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(ARCH) $(LIBS)
-@@ -77,36 +77,7 @@
- $(OBJDIR)/path_isabsolute.o \
- $(OBJDIR)/premake.o \
- $(OBJDIR)/scripts.o \
-- $(OBJDIR)/string_endswith.o \
-- $(OBJDIR)/lapi.o \
-- $(OBJDIR)/lauxlib.o \
-- $(OBJDIR)/lbaselib.o \
-- $(OBJDIR)/lcode.o \
-- $(OBJDIR)/ldblib.o \
-- $(OBJDIR)/ldebug.o \
-- $(OBJDIR)/ldo.o \
-- $(OBJDIR)/ldump.o \
-- $(OBJDIR)/lfunc.o \
-- $(OBJDIR)/lgc.o \
-- $(OBJDIR)/linit.o \
-- $(OBJDIR)/liolib.o \
-- $(OBJDIR)/llex.o \
-- $(OBJDIR)/lmathlib.o \
-- $(OBJDIR)/lmem.o \
-- $(OBJDIR)/loadlib.o \
-- $(OBJDIR)/lobject.o \
-- $(OBJDIR)/lopcodes.o \
-- $(OBJDIR)/loslib.o \
-- $(OBJDIR)/lparser.o \
-- $(OBJDIR)/lstate.o \
-- $(OBJDIR)/lstring.o \
-- $(OBJDIR)/lstrlib.o \
-- $(OBJDIR)/ltable.o \
-- $(OBJDIR)/ltablib.o \
-- $(OBJDIR)/ltm.o \
-- $(OBJDIR)/lundump.o \
-- $(OBJDIR)/lvm.o \
-- $(OBJDIR)/lzio.o \
-+ $(OBJDIR)/string_endswith.o
-
- RESOURCES := \
-
-@@ -209,92 +180,5 @@
- $(OBJDIR)/string_endswith.o: ../../src/host/string_endswith.c
- @echo $(notdir $<)
- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/lapi.o: ../../src/host/lua-5.1.4/src/lapi.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/lauxlib.o: ../../src/host/lua-5.1.4/src/lauxlib.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/lbaselib.o: ../../src/host/lua-5.1.4/src/lbaselib.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/lcode.o: ../../src/host/lua-5.1.4/src/lcode.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/ldblib.o: ../../src/host/lua-5.1.4/src/ldblib.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/ldebug.o: ../../src/host/lua-5.1.4/src/ldebug.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/ldo.o: ../../src/host/lua-5.1.4/src/ldo.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/ldump.o: ../../src/host/lua-5.1.4/src/ldump.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/lfunc.o: ../../src/host/lua-5.1.4/src/lfunc.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/lgc.o: ../../src/host/lua-5.1.4/src/lgc.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/linit.o: ../../src/host/lua-5.1.4/src/linit.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/liolib.o: ../../src/host/lua-5.1.4/src/liolib.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/llex.o: ../../src/host/lua-5.1.4/src/llex.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/lmathlib.o: ../../src/host/lua-5.1.4/src/lmathlib.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/lmem.o: ../../src/host/lua-5.1.4/src/lmem.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/loadlib.o: ../../src/host/lua-5.1.4/src/loadlib.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/lobject.o: ../../src/host/lua-5.1.4/src/lobject.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/lopcodes.o: ../../src/host/lua-5.1.4/src/lopcodes.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/loslib.o: ../../src/host/lua-5.1.4/src/loslib.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/lparser.o: ../../src/host/lua-5.1.4/src/lparser.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/lstate.o: ../../src/host/lua-5.1.4/src/lstate.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/lstring.o: ../../src/host/lua-5.1.4/src/lstring.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/lstrlib.o: ../../src/host/lua-5.1.4/src/lstrlib.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/ltable.o: ../../src/host/lua-5.1.4/src/ltable.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/ltablib.o: ../../src/host/lua-5.1.4/src/ltablib.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/ltm.o: ../../src/host/lua-5.1.4/src/ltm.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/lundump.o: ../../src/host/lua-5.1.4/src/lundump.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/lvm.o: ../../src/host/lua-5.1.4/src/lvm.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
--$(OBJDIR)/lzio.o: ../../src/host/lua-5.1.4/src/lzio.c
-- @echo $(notdir $<)
-- $(SILENT) $(CC) $(CFLAGS) -o "$@" -c "$<"
-
- -include $(OBJECTS:%.o=%.d)
diff --git a/premake.spec b/premake.spec
index e5690a4..1ad441f 100644
--- a/premake.spec
+++ b/premake.spec
@@ -1,150 +1,62 @@
+%global debug_package %{nil}
+
+%global forgeurl
https://github.com/premake/premake-core
+%global date 20230420
+%global commit 3f1e4f8ded5ce1397bd286eef5e2ebef02556422
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%forgemeta
+
Name: premake
-Version: 4.3
-Release: 27%{?dist}
+Version: 5.0.0^%{date}git%{shortcommit}
+Release: %autorelease
Summary: Cross-platform build configuration tool
-License: BSD
-URL:
http://industriousone.com/premake
-Source0:
http://downloads.sourceforge.net/%{name}/premake-%{version}-src.zip
-# This patch removes the bundeled Lua sources from the makefile to use the system Lua
-Patch0: premake-4.3-system-lua.patch
-# Add the missing manpage
-Patch1: premake-4.3-manpage.patch
-BuildRequires: make
+License: BSD-3-Clause
+URL: %{forgeurl}
+Source: %{forgesource}
+
BuildRequires: gcc
-BuildRequires: compat-lua-devel readline-devel
+BuildRequires: make
+BuildRequires: compat-lua-devel
+BuildRequires: readline-devel
+BuildRequires: libuuid-devel
%description
-Premake is a build configuration tool that can generate project files for:
- - GNU make
- - Code::Blocks
- - CodeLite
- - MonoDevelop
- - SharpDevelop
- - Apple XCode
- - Microsoft Visual Studio
+Premake is a command line utility which reads a scripted definition of a
+software project, then uses it to perform build configuration tasks or generate
+project files for toolsets like Visual Studio, Xcode, and GNU Make. Premake's
+scripts are little Lua programs, so the sky's the limit!
%prep
-%setup -q
-%patch0 -p0
-%patch1 -p0
-# Inject optflags into CFLAGS
-sed -i "s|^\s*CFLAGS\s*+=.*|CFLAGS += \$(CPPFLAGS) %{optflags}|"
build/gmake.unix/Premake4.make
-# Disable stripping the executable
-sed -i "s|^\s*LDFLAGS\s*+= -s|LDFLAGS +=|" build/gmake.unix/Premake4.make
-# Use the release build for running tests
-sed -i "s/debug/release/" tests/test
+%forgesetup
%build
-cd build/gmake.unix/
-make verbose=true %{?_smp_mflags}
+# bootstrap your first Premake executable
+make -f Bootstrap.mak linux
+# generate makefiles
+./bin/release/premake5 gmake
+# embed and compile Lua scripts into the Premake executable to ship a single
+# file instead of a whole bunch of scripts.
+./bin/release/premake5 embed
+# rebuild
+%make_build config=release
%install
-install -m 755 -Dp ./bin/release/premake4 %{buildroot}/%{_bindir}/premake4
-install -m 644 -Dp ./premake4.1 %{buildroot}/%{_mandir}/man1/premake4.1
+install -pDm 755 bin/release/premake5 %{buildroot}/%{_bindir}/premake5
+install -pDm 644 packages/debian/premake.1 %{buildroot}%{_mandir}/man1/premake5.1
+
+%check
+# for aarch64 and s390x, base_os.findlib_FindSystemLib failed. Disable for the
+# tests for now as I do not find a way to skip the specific test
+%ifarch x86_64 i686 ppc64le
+bin/release/premake5 test
+%endif
%files
-%{_bindir}/premake4
-%{_mandir}/man1/premake4.1*
-%doc README.txt CHANGES.txt
%license LICENSE.txt
-
-
+%doc README.md
+%{_bindir}/premake5
+%{_mandir}/man1/premake5.1.gz
%changelog
-* Fri Jan 20 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-27
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
-
-* Fri Jul 22 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-26
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-25
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-24
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-23
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
-
-* Tue Jul 28 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-22
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Thu Jan 30 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-21
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
-
-* Fri Jul 26 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-20
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Sat Feb 02 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-19
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-18
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-17
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-16
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
-
-* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-15
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Sat Feb 11 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-14
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
-
-* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3-13
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
-
-* Sat Jun 20 2015 Ralf Corsépius <corsepiu(a)fedoraproject.org> - 4.3-12
-- Use '|' instead of '/' as pattern delimiter in sed expression to
filter
- CFLAGS (Fix FTBFS).
-- Modernize spec.
-- Add %%license.
-
-* Thu Jun 18 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
4.3-11
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
-
-* Sun Aug 17 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
4.3-10
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
-
-* Thu Jun 26 2014 Yaakov Selkowitz <yselkowi(a)redhat.com> - 4.3-9
-- Fix FTBFS with lua-5.2 (#1106672)
-
-* Sat Jun 07 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
4.3-8
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
-
-* Sun Aug 04 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
4.3-7
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
-
-* Thu Feb 14 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
4.3-6
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
-
-* Sat Jul 21 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
4.3-5
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
-
-* Sat Jan 14 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
4.3-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
-
-* Wed Feb 09 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
4.3-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
-
-* Sun Nov 28 2010 Joachim de Groot <jdegroot(a)web.de> - 4.3-2
-- Let rpm handle the man page compression
-
-* Sat Nov 27 2010 Joachim de Groot <jdegroot(a)web.de> - 4.3-1
-- Update to 4.3, thus changed license to BSD
-- Added missing version numbers to changelog
-- Added readline-devel to BuildRequires
-- Added a man page
-
-* Fri Oct 29 2010 Joachim de Groot <jdegroot(a)web.de> - 4.2.1-3
-- Correct building of the debuginfo package
-
-* Fri Oct 29 2010 Joachim de Groot <jdegroot(a)web.de> - 4.2.1-2
-- Implemented changes proposed by Mohamed El Morabity
-
-* Thu Oct 28 2010 Joachim de Groot <jdegroot(a)web.de> - 4.2.1-1
-- Initial version of the package
-
+%autochangelog
diff --git a/sources b/sources
index dc3b45f..49d9876 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8cfafee76f9665c93b2e9ad15b015eb7 premake-4.3-src.zip
+SHA512 (premake-core-3f1e4f8ded5ce1397bd286eef5e2ebef02556422.tar.gz) =
bb37b0d2d07840679945b3649b0f95ec3cc0838244cd41a83337ed6df5b9377f6939be8859536eee1fa2b89db2118efa993b67dabe5977caa2c67984ff419daa