Accepting request 1188270 from devel:tools:compiler

- Remove riscv64-correct-comments.patch
- Update to version 0.24.2:
  This release introduces a lot of breaking changes
  * time::date now accepts a zone offset (zoff) parameter in
    time:📅:reckon and time:📅:truncate.
  * time:📅:calculus has been renamed to time:📅:rflag.
  * time:📅:realize requires .vloc to be set, and no longer defaults
    to UTC.
  * time:📅:now() is renamed to time:📅:localnow() and
    time:📅:nowutc() is renamed to time:📅:now()
  * time:📅:EPOCHAL_JULIAN and EPOCHAL_GREGORIAN have been renamed to
    EPOCHDAY_JULIAN and EPOCHDAY_GREGORIAN respectively
  * time::chrono::eq has been removed and replaced with
    time::chrono::simultaneous and time::chrono::coincident
  * time::chrono::mzone has been renamed to time::chrono::ozone
  * The type of time:📅:parsefail has been chnaged from rune (storing
    the offending format specifier) to (size, rune), which adds the index
    of the position where the parsing failure occured.
  * Several constants for format layouts in time::date have been renamed:
    [[EMAILZ]] => [[EMAILZONE]]
    [[STAMP_NANO]] => [[STAMPNANO]]
    [[STAMP_ZOFF]] => [[STAMPZOFF]]
    [[STAMP_ZONE]] => [[STAMPZONE]]
    [[STAMP_NOZL]] => [[STAMPLOC]]
  * unix::hosts
  * unix::passwd
  * "done" is now a reserved word and cannot be used in user-defined names
  * The following standard library symbols have been updated to use done
    types in their API:
    * bytes::next_token/bytes::prev_token
    * encoding::utf8
    * fs::next
    * glob::next
    * io::EOF
    * mime
    * path::nextiter
    * strings::next/strings::prev
    * strings::next_token/strings::prev_token
    * In short, if your program matches on a function using the iterator
      pattern with "void" and this causes an error from 0.24.2, the
      correct solution is likely to rewrite it to use a for-each loop, or
      replace "void" with "done" in the relevant match case.
  * for-each loops and the "done" type
  * Optional parameters for functions
  * Support for shared memory and memfds on supported platforms
  * Revised and improved APIs for unix::*
  * Improved performance for bufio and related APIs
  * regex:: now supports multiple alternation (i.e. (x|y|z))
  * New cryptography APIs:
    * crypto::ec
    * crypto::ecdh
    * crypto::ecdsa

OBS-URL: https://build.opensuse.org/request/show/1188270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hare?expand=0&rev=7
This commit is contained in:
Ana Guerrero 2024-07-19 13:26:48 +00:00 committed by Git OBS Bridge
commit a0c53548a9
5 changed files with 64 additions and 33 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7061dad3c79cca51a1662a71b1c6f8ec001f52ef3053dd3c2dbb95ae9beff7bc
size 767869

3
hare-0.24.2.tar.gz Normal file
View File

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

View File

@ -1,3 +1,63 @@
-------------------------------------------------------------------
Tue Jul 16 15:31:19 UTC 2024 - Soc Virnyl Estela <obs@uncomfyhalomacro.pl>
- Remove riscv64-correct-comments.patch
-------------------------------------------------------------------
Tue Jul 16 14:32:27 UTC 2024 - Soc Virnyl Estela <obs@uncomfyhalomacro.pl>
- Update to version 0.24.2:
This release introduces a lot of breaking changes
* time::date now accepts a zone offset (zoff) parameter in
time::date::reckon and time::date::truncate.
* time::date::calculus has been renamed to time::date::rflag.
* time::date::realize requires .vloc to be set, and no longer defaults
to UTC.
* time::date::now() is renamed to time::date::localnow() and
time::date::nowutc() is renamed to time::date::now()
* time::date::EPOCHAL_JULIAN and EPOCHAL_GREGORIAN have been renamed to
EPOCHDAY_JULIAN and EPOCHDAY_GREGORIAN respectively
* time::chrono::eq has been removed and replaced with
time::chrono::simultaneous and time::chrono::coincident
* time::chrono::mzone has been renamed to time::chrono::ozone
* The type of time::date::parsefail has been chnaged from rune (storing
the offending format specifier) to (size, rune), which adds the index
of the position where the parsing failure occured.
* Several constants for format layouts in time::date have been renamed:
[[EMAILZ]] => [[EMAILZONE]]
[[STAMP_NANO]] => [[STAMPNANO]]
[[STAMP_ZOFF]] => [[STAMPZOFF]]
[[STAMP_ZONE]] => [[STAMPZONE]]
[[STAMP_NOZL]] => [[STAMPLOC]]
* unix::hosts
* unix::passwd
* "done" is now a reserved word and cannot be used in user-defined names
* The following standard library symbols have been updated to use done
types in their API:
* bytes::next_token/bytes::prev_token
* encoding::utf8
* fs::next
* glob::next
* io::EOF
* mime
* path::nextiter
* strings::next/strings::prev
* strings::next_token/strings::prev_token
* In short, if your program matches on a function using the iterator
pattern with "void" and this causes an error from 0.24.2, the
correct solution is likely to rewrite it to use a for-each loop, or
replace "void" with "done" in the relevant match case.
* for-each loops and the "done" type
* Optional parameters for functions
* Support for shared memory and memfds on supported platforms
* Revised and improved APIs for unix::*
* Improved performance for bufio and related APIs
* regex:: now supports multiple alternation (i.e. (x|y|z))
* New cryptography APIs:
* crypto::ec
* crypto::ecdh
* crypto::ecdsa
-------------------------------------------------------------------
Mon May 13 11:03:12 UTC 2024 - Matej Cepl <mcepl@cepl.eu>

View File

@ -19,7 +19,7 @@
%bcond_without test
Name: hare
Release: 0
Version: 0.24.0
Version: 0.24.2
Summary: Hare system programming language
Group: Development/Tools/Building
License: MPL-2.0
@ -27,10 +27,6 @@ URL: https://harelang.org
Source0: https://git.sr.ht/~sircmpwn/hare/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: %{name}-rpmlintrc
Source2: README-suse-maint.md
# PATCH-FIX-UPSTREAM riscv64-correct-comments.patch mcepl@suse.com
# Fixes: https://lists.sr.ht/~sircmpwn/hare-users/%3CD18FD2EPPRY2.225EG4C0M57O4@cepl.eu%3E
# Patch-from: https://git.sr.ht/~sircmpwn/hare/commit/80e45e4d931a
Patch0: riscv64-correct-comments.patch
BuildRequires: binutils
BuildRequires: gcc
# Hare and the HareC compiler should have the same version

View File

@ -1,25 +0,0 @@
From 80e45e4d931a6e90d999846b86471cac00d2a6d5 Mon Sep 17 00:00:00 2001
From: Andreas Schwab <schwab@suse.de>
Date: Wed, 21 Feb 2024 22:05:02 +0100
Subject: [PATCH] debug+riscv: use correct comment syntax
Signed-off-by: Andreas Schwab <schwab@suse.de>
---
debug/+riscv64/getfp.s | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debug/+riscv64/getfp.s b/debug/+riscv64/getfp.s
index 9c3698af..b822036a 100644
--- a/debug/+riscv64/getfp.s
+++ b/debug/+riscv64/getfp.s
@@ -1,5 +1,5 @@
-// SPDX-License-Identifier: MPL-2.0
-// (c) Hare authors <https://harelang.org>
+# SPDX-License-Identifier: MPL-2.0
+# (c) Hare authors <https://harelang.org>
.section ".text.debug.getfp","ax"
.global debug.getfp
--
2.43.0