- Move SRCDIR and HAREPATHs to /usr/src
instead from /usr/lib
or `/usr/lib64`. Respect defaults if possible. - Update to version 1702417101.ce67adb5: * +libc: Avoid overriding the default linker script on other platforms * FreeBSD: Fix build with +libc * os fs.ha: s/errors::errno/fs_to_errno/ * OpenBSD: implement os::mkfifo and os::mkfile * math: Accept types::signed instead of integer in absi * cmd/{hare,haredoc}: remove unused imports * cmd/{hare,haredoc}: Don't allocate tags * haretype: use system architecture * os: add arch type and functions * cmd/haredoc: replace split with rtokenize * io: improve seek and whence docs * test: display special msg when no tests are run * hare deps: print more intuitive msg when no deps * os+linux: add mkfile * os+linux: s/Unix/Unix-like/ * haredoc: submodules newline fixes * hare build: fix order of flags * getopt: improve docs * all: always use tabs for indentation * hare::parse::doc: add docs * haredoc: error out when more than one arg supplied * docs: rename hare-doc(5) to haredoc(5) * os+openbsd: remove extra License: header * rt+linux: fix some types * hare::parse: improve assign expr error message * strings: use type assertion in iter tests * strings: test contains with no variadic arguments OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=25
This commit is contained in:
parent
4168c05f18
commit
b376fae8b9
@ -1,4 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://git.sr.ht/~sircmpwn/hare</param>
|
||||
<param name="changesrevision">dbd2d7a542ae38337ff7e34758262bd0a1cebcb0</param></service></servicedata>
|
||||
<param name="changesrevision">ce67adb5aea8b1d17d366700551806f868585dcc</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8bfbe621880cdbc5976709ca9f9377e3be61f2b06efed49a83a71f1ff22e085a
|
||||
size 623784
|
3
hare-1702417101.ce67adb5.tar.zst
Normal file
3
hare-1702417101.ce67adb5.tar.zst
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:21f09a069c0631f1b4a4c5994a08c2884fc22868e698e53f2f7572e3a2115d86
|
||||
size 625321
|
49
hare.changes
49
hare.changes
@ -1,3 +1,52 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 16 01:03:47 UTC 2023 - Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
|
||||
|
||||
- Move SRCDIR and HAREPATHs to `/usr/src` instead from `/usr/lib`
|
||||
or `/usr/lib64`. Respect defaults if possible.
|
||||
- Update to version 1702417101.ce67adb5:
|
||||
* +libc: Avoid overriding the default linker script on other platforms
|
||||
* FreeBSD: Fix build with +libc
|
||||
* os fs.ha: s/errors::errno/fs_to_errno/
|
||||
* OpenBSD: implement os::mkfifo and os::mkfile
|
||||
* math: Accept types::signed instead of integer in absi
|
||||
* cmd/{hare,haredoc}: remove unused imports
|
||||
* cmd/{hare,haredoc}: Don't allocate tags
|
||||
* haretype: use system architecture
|
||||
* os: add arch type and functions
|
||||
* cmd/haredoc: replace split with rtokenize
|
||||
* io: improve seek and whence docs
|
||||
* test: display special msg when no tests are run
|
||||
* hare deps: print more intuitive msg when no deps
|
||||
* os+linux: add mkfile
|
||||
* os+linux: s/Unix/Unix-like/
|
||||
* haredoc: submodules newline fixes
|
||||
* hare build: fix order of flags
|
||||
* getopt: improve docs
|
||||
* all: always use tabs for indentation
|
||||
* hare::parse::doc: add docs
|
||||
* haredoc: error out when more than one arg supplied
|
||||
* docs: rename hare-doc(5) to haredoc(5)
|
||||
* os+openbsd: remove extra License: header
|
||||
* rt+linux: fix some types
|
||||
* hare::parse: improve assign expr error message
|
||||
* strings: use type assertion in iter tests
|
||||
* strings: test contains with no variadic arguments
|
||||
* strings: test join with only one variadic argument
|
||||
* strings: test concat with only one argument
|
||||
* hare::ast: remove inaccurate comment
|
||||
* path: mention fs::resolve in README
|
||||
* docs/rfc-template: wrap at 72 columns
|
||||
* memio+test: use defer for closing streams
|
||||
* cmd/*: fix memory leaks
|
||||
* ascii: add strlower_buf and strupper_buf
|
||||
* hare::parse: disallow mixing @init, @fini, and @test
|
||||
* hare::ast: s/constant/literal/g
|
||||
* hare build: only overwrite executable files
|
||||
* hare::parse+test: add labelled compound test
|
||||
* hare::*: support for/switch/match labels
|
||||
* all: update labelled loop syntax
|
||||
* cmd::hare add comments and cleanup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 8 14:27:46 UTC 2023 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
name: hare
|
||||
version: 1701969360.dbd2d7a5
|
||||
mtime: 1701969360
|
||||
commit: dbd2d7a542ae38337ff7e34758262bd0a1cebcb0
|
||||
version: 1702417101.ce67adb5
|
||||
mtime: 1702417101
|
||||
commit: ce67adb5aea8b1d17d366700551806f868585dcc
|
||||
|
20
hare.spec
20
hare.spec
@ -15,10 +15,11 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%bcond_without test
|
||||
Name: hare
|
||||
Release: 0
|
||||
Version: 1701969360.dbd2d7a5
|
||||
Version: 1702417101.ce67adb5
|
||||
Summary: Hare system programming language
|
||||
Group: Development/Tools/Building
|
||||
License: MPL-2.0
|
||||
@ -26,14 +27,14 @@ URL: https://harelang.org
|
||||
Source0: %{name}-%{version}.tar.zst
|
||||
Source1: %{name}-rpmlintrc
|
||||
Source2: README-suse-maint.md
|
||||
BuildRequires: binutils
|
||||
BuildRequires: gcc
|
||||
BuildRequires: harec
|
||||
BuildRequires: make
|
||||
BuildRequires: qbe
|
||||
BuildRequires: binutils
|
||||
BuildRequires: scdoc
|
||||
BuildRequires: zstd
|
||||
BuildRequires: timezone
|
||||
BuildRequires: zstd
|
||||
Requires: harec
|
||||
Requires: qbe
|
||||
Requires: timezone
|
||||
@ -55,8 +56,8 @@ cat > config.mk <<-SH
|
||||
PREFIX = %{_prefix}
|
||||
BINDIR = %{_bindir}
|
||||
MANDIR = %{_mandir}
|
||||
SRCDIR = %{_libdir}
|
||||
STDLIB = %{_libdir}/%{name}/stdlib
|
||||
SRCDIR = %{_prefix}/src
|
||||
STDLIB = %{_prefix}/src/%{name}/stdlib
|
||||
|
||||
## Build configuration
|
||||
|
||||
@ -69,7 +70,6 @@ QBEFLAGS =
|
||||
ASFLAGS =
|
||||
LDLINKFLAGS = --gc-sections -z noexecstack
|
||||
|
||||
|
||||
# commands used by the build script
|
||||
HAREC = harec
|
||||
HAREFLAGS =
|
||||
@ -84,7 +84,7 @@ HARECACHE = .cache
|
||||
BINOUT = .bin
|
||||
|
||||
# variables that will be embedded in the binary with the -D definitions
|
||||
HAREPATH = %{_libdir}/%{name}/stdlib:%{_libdir}/%{name}/third-party
|
||||
HAREPATH = %{_prefix}/src/%{name}/stdlib:%{_prefix}/src/%{name}/third-party
|
||||
VERSION = %{version}
|
||||
|
||||
# Cross-compiler toolchains
|
||||
@ -118,7 +118,7 @@ make %{?_smp_mflags} DESTDIR="%{buildroot}" install
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
# Enable only for tumbleweed/factory since
|
||||
# Enable only for tumbleweed/factory since
|
||||
# Timezone package seems to fail this :D
|
||||
%if 0%{?suse_version} > 1600
|
||||
export CFLAGS="%optflags"
|
||||
@ -136,7 +136,7 @@ make %{?_smp_mflags} check
|
||||
%{_bindir}/%{name}doc
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man5/*
|
||||
%dir %{_libdir}/%{name}
|
||||
%{_libdir}/%{name}/*
|
||||
%dir %{_prefix}/src/hare
|
||||
%{_prefix}/src/hare/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user