update to 0.10.1.20230525git.230ea41 [release 0.10.1.20230525git.230ea41-1mamba;Thu May 25 2023]
This commit is contained in:
parent
fe8a199bdf
commit
f4ec65e67d
31
zig.spec
31
zig.spec
@ -1,5 +1,6 @@
|
|||||||
|
%define gittag %(echo %version | cut -d. -f5)
|
||||||
Name: zig
|
Name: zig
|
||||||
Version: 0.10.1
|
Version: 0.10.1.20230525git.230ea41
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A general-purpose programming language and toolchain for maintaining robust, optimal and reusable software
|
Summary: A general-purpose programming language and toolchain for maintaining robust, optimal and reusable software
|
||||||
Group: Applications/Development
|
Group: Applications/Development
|
||||||
@ -7,7 +8,8 @@ Vendor: openmamba
|
|||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://ziglang.org/
|
URL: https://ziglang.org/
|
||||||
Source: https://ziglang.org/download/%{version}/zig-%{version}.tar.xz
|
Source: https://github.com/ziglang/zig.git/master@%{gittag}/zig-%{version}.tar.bz2
|
||||||
|
#Source: https://ziglang.org/download/%{version}/zig-%{version}.tar.xz
|
||||||
Patch0: zig-0.10.1-llvm-15.patch
|
Patch0: zig-0.10.1-llvm-15.patch
|
||||||
Patch1: zig-0.10.1-build-increase-max_output-size.patch
|
Patch1: zig-0.10.1-build-increase-max_output-size.patch
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -18,6 +20,8 @@ BuildRequires: liblld-devel
|
|||||||
BuildRequires: libllvm-devel
|
BuildRequires: libllvm-devel
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: libclang-devel >= 0:16.0.4-1mamba
|
||||||
|
BuildRequires: liblld-devel >= 16.0.4
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -29,23 +33,26 @@ Zig is a general-purpose programming language and toolchain for maintaining robu
|
|||||||
%setup -q
|
%setup -q
|
||||||
#-D -T
|
#-D -T
|
||||||
#:<< __EOF
|
#:<< __EOF
|
||||||
%patch 0 -p1
|
#%patch 0 -p1
|
||||||
%patch 1 -p1
|
#%patch 1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#:<< _EOF
|
# FIXME: PKG_CONFIG_PATH as set by rpm script causes the build to fail
|
||||||
|
export PKG_CONFIG_PATH=""
|
||||||
%cmake -d build \
|
%cmake -d build \
|
||||||
\
|
-DCMAKE_BUILD_TYPE=Debug \
|
||||||
%ifarch %{ix86}
|
-DZIG_SHARED_LLVM=ON
|
||||||
-DCMAKE_BUILD_TYPE=None
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
# FIXME: PKG_CONFIG_PATH as set by rpm script causes the build to fail
|
||||||
|
export PKG_CONFIG_PATH=""
|
||||||
%makeinstall -C build
|
%makeinstall -C build
|
||||||
|
|
||||||
|
rm -rf %{buildroot}/usr/doc
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
@ -57,5 +64,11 @@ Zig is a general-purpose programming language and toolchain for maintaining robu
|
|||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 25 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.1.20230525git.230ea41-1mamba
|
||||||
|
- update to 0.10.1.20230525git.230ea41
|
||||||
|
|
||||||
|
* Thu May 25 2023 Sdk Build System <sdk@mambasoft.it> 0.10.1-2mamba
|
||||||
|
- rebuilt by autoport with build requirements: libclang-devel>=0:16.0.4-1mamba
|
||||||
|
|
||||||
* Sat Mar 18 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.1-1mamba
|
* Sat Mar 18 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.1-1mamba
|
||||||
- package created using the webbuild interface
|
- package created using the webbuild interface
|
||||||
|
Loading…
Reference in New Issue
Block a user