SHA256
1
0
forked from pool/hare

- 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:
Soc Virnyl Estela 2023-12-16 01:08:08 +00:00 committed by Git OBS Bridge
parent 4168c05f18
commit b376fae8b9
6 changed files with 66 additions and 17 deletions

View File

@ -1,4 +1,4 @@
<servicedata> <servicedata>
<service name="tar_scm"> <service name="tar_scm">
<param name="url">https://git.sr.ht/~sircmpwn/hare</param> <param name="url">https://git.sr.ht/~sircmpwn/hare</param>
<param name="changesrevision">dbd2d7a542ae38337ff7e34758262bd0a1cebcb0</param></service></servicedata> <param name="changesrevision">ce67adb5aea8b1d17d366700551806f868585dcc</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8bfbe621880cdbc5976709ca9f9377e3be61f2b06efed49a83a71f1ff22e085a
size 623784

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:21f09a069c0631f1b4a4c5994a08c2884fc22868e698e53f2f7572e3a2115d86
size 625321

View File

@ -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> Fri Dec 8 14:27:46 UTC 2023 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>

View File

@ -1,4 +1,4 @@
name: hare name: hare
version: 1701969360.dbd2d7a5 version: 1702417101.ce67adb5
mtime: 1701969360 mtime: 1702417101
commit: dbd2d7a542ae38337ff7e34758262bd0a1cebcb0 commit: ce67adb5aea8b1d17d366700551806f868585dcc

View File

@ -15,10 +15,11 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%bcond_without test %bcond_without test
Name: hare Name: hare
Release: 0 Release: 0
Version: 1701969360.dbd2d7a5 Version: 1702417101.ce67adb5
Summary: Hare system programming language Summary: Hare system programming language
Group: Development/Tools/Building Group: Development/Tools/Building
License: MPL-2.0 License: MPL-2.0
@ -26,14 +27,14 @@ URL: https://harelang.org
Source0: %{name}-%{version}.tar.zst Source0: %{name}-%{version}.tar.zst
Source1: %{name}-rpmlintrc Source1: %{name}-rpmlintrc
Source2: README-suse-maint.md Source2: README-suse-maint.md
BuildRequires: binutils
BuildRequires: gcc BuildRequires: gcc
BuildRequires: harec BuildRequires: harec
BuildRequires: make BuildRequires: make
BuildRequires: qbe BuildRequires: qbe
BuildRequires: binutils
BuildRequires: scdoc BuildRequires: scdoc
BuildRequires: zstd
BuildRequires: timezone BuildRequires: timezone
BuildRequires: zstd
Requires: harec Requires: harec
Requires: qbe Requires: qbe
Requires: timezone Requires: timezone
@ -55,8 +56,8 @@ cat > config.mk <<-SH
PREFIX = %{_prefix} PREFIX = %{_prefix}
BINDIR = %{_bindir} BINDIR = %{_bindir}
MANDIR = %{_mandir} MANDIR = %{_mandir}
SRCDIR = %{_libdir} SRCDIR = %{_prefix}/src
STDLIB = %{_libdir}/%{name}/stdlib STDLIB = %{_prefix}/src/%{name}/stdlib
## Build configuration ## Build configuration
@ -69,7 +70,6 @@ QBEFLAGS =
ASFLAGS = ASFLAGS =
LDLINKFLAGS = --gc-sections -z noexecstack LDLINKFLAGS = --gc-sections -z noexecstack
# commands used by the build script # commands used by the build script
HAREC = harec HAREC = harec
HAREFLAGS = HAREFLAGS =
@ -84,7 +84,7 @@ HARECACHE = .cache
BINOUT = .bin BINOUT = .bin
# variables that will be embedded in the binary with the -D definitions # 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} VERSION = %{version}
# Cross-compiler toolchains # Cross-compiler toolchains
@ -136,7 +136,7 @@ make %{?_smp_mflags} check
%{_bindir}/%{name}doc %{_bindir}/%{name}doc
%{_mandir}/man1/* %{_mandir}/man1/*
%{_mandir}/man5/* %{_mandir}/man5/*
%dir %{_libdir}/%{name} %dir %{_prefix}/src/hare
%{_libdir}/%{name}/* %{_prefix}/src/hare/*
%changelog %changelog