Accepting request 1163935 from devel:tools:building

OBS-URL: https://build.opensuse.org/request/show/1163935
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tup?expand=0&rev=8
This commit is contained in:
2024-04-02 14:43:10 +00:00
committed by Git OBS Bridge
6 changed files with 47 additions and 37 deletions
+41
View File
@@ -1,3 +1,44 @@
-------------------------------------------------------------------
Mon Apr 1 09:10:00 UTC 2024 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 0.8
Backwards incompatibility with variants:
* The FUSE overlay variants have been removed in favor of
explicit variants. If you use variants on version v0.7.11 or
earlier, you may need to update your Tupfiles. See
https://gittup.org/tup/ex_explicit_variants.html for more
details.
New features:
* 'import' keyword to set a Tupfile variable to an environment
variable.
* 'tup compiledb' can create a compile_commands.json for
third-party tools to see compilation commands.
* 'tup commandline' shows the commandline used to compile a
file.
* 'tup generate' can support building in a separate build
directory (if the project supports building with variants).
* 'tup generate' can take an output list to limit what the
script generates (ie: a partial build script).
* A single Lua state is now re-used during parsing and doesn't
need to be reinitialized for every Lua-based Tupfile.
* Internal mtime tracking is now at nanosecond resolution
(where supported by the OS) instead of 1-second intervals.
Dependency updates:
* Internal Lua version is now 5.4.6
* Internal SQLite version is now 3.45.2
* Internal PCRE version is now PCRE2 10.42
* External PCRE dependency is now libpcre2 instead of libpcre
(default unless built with CONFIG_TUP_USE_SYSTEM_PCRE=n in
which case the internal version is used)
Bug fixes:
* Fixed a bug that results in tup_entry_rm called on tupid X,
which still has refcount=1
* ^o rules that fail with a monitor autoupdate no longer cause
infinite loops
* Deleted files are now removed from the transient_list.
- Drop tup-add_archs.patch (no longer necessary)
- Drop tup.rpmlintrc
-------------------------------------------------------------------
Sat May 15 19:18:48 UTC 2021 - Luigi Baldoni <aloisio@gmx.com>
+3 -5
View File
@@ -1,7 +1,7 @@
#
# spec file for package tup
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,19 +17,17 @@
Name: tup
Version: 0.7.11
Version: 0.8
Release: 0
Summary: File-based build system
License: GPL-2.0-only
URL: http://gittup.org/tup/
Source0: https://github.com/gittup/tup/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source99: %{name}.rpmlintrc
Patch0: tup-add_archs.patch
BuildRequires: awk
BuildRequires: pkgconfig
BuildRequires: vim
BuildRequires: pkgconfig(fuse3)
BuildRequires: pkgconfig(libpcre)
BuildRequires: pkgconfig(libpcre2-posix)
Requires: vim
%description
-3
View File
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:be24dff5f1f32cc85c73398487a756b4a393adab5e4d8500fd5164909d3e85b9
size 4683309
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:45ca35c4c1d140f3faaab7fabf9d68fd9c21074af2af9a720cff4b27cab47d07
size 5026691
-26
View File
@@ -1,26 +0,0 @@
Index: tup-0.7.10/src/tup/platform.c
===================================================================
--- tup-0.7.10.orig/src/tup/platform.c
+++ tup-0.7.10/src/tup/platform.c
@@ -58,6 +58,8 @@ const char *tup_arch = "sparc";
const char *tup_arch = "arm";
#elif __aarch64__
const char *tup_arch = "arm64";
+#elif __s390x__
+const char *tup_arch = "s390x";
#else
#error Unsupported cpu architecture. Please add support in tup/platform.c
#endif
Index: tup-0.7.10/tup.1
===================================================================
--- tup-0.7.10.orig/tup.1
+++ tup-0.7.10/tup.1
@@ -755,7 +755,7 @@ In this case, the @-variable "FOO" is ex
TUP_PLATFORM is a special @-variable. If CONFIG_TUP_PLATFORM is not set in the tup.config file, it has a default value according to the platform that tup itself was compiled in. Currently the default value is one of "linux", "solaris", "macosx", "win32", "freebsd" or "netbsd".
.TP
.B @(TUP_ARCH)
-TUP_ARCH is another special @-variable. If CONFIG_TUP_ARCH is not set in the tup.config file, it has a default value according to the processor architecture that tup itself was compiled in. Currently the default value is one of "i386", "x86_64", "powerpc", "powerpc64", "ia64", "alpha", "sparc", "arm64", or "arm".
+TUP_ARCH is another special @-variable. If CONFIG_TUP_ARCH is not set in the tup.config file, it has a default value according to the processor architecture that tup itself was compiled in. Currently the default value is one of "i386", "x86_64", "powerpc", "powerpc64", "ia64", "alpha", "sparc", "arm64", "arm" or "s390x".
.SH "VARIANTS"
Tup supports variants, which allow you to build your project multiple times with different configurations. Perhaps the most common case is to build a release and a debug configuration with different compiler flags, though any number of variants can be used to support whatever configurations you like. Each variant is built in its own directory distinct from each other and from the source tree. When building with variants, the in-tree build is disabled. To create a variant, make a new directory at the top of the tup hierarchy and create a "tup.config" file there. For example:
-3
View File
@@ -1,3 +0,0 @@
# it's a false positive on any platform other than x86_64
addFilter("^\w+\.(?!x86_64)[^:]+: W: missing-call-to-chdir-with-chroot.+tup$")