Accepting request 1141934 from devel:tools:compiler

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1141934
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/harec?expand=0&rev=6
This commit is contained in:
2024-01-28 18:42:34 +00:00
committed by Git OBS Bridge
7 changed files with 52 additions and 25 deletions

View File

@@ -6,7 +6,6 @@
<param name="versionrewrite-pattern">(.*)</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">enable</param>
<param name="changesauthor">socvirnyl.estela@gmail.com</param>
</service>
<service mode="manual" name="tar" />
<service mode="manual" name="recompress">

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://git.sr.ht/~sircmpwn/harec</param>
<param name="changesrevision">9d51b367aeebcfc8ed0a0c458484b42c0b60a77e</param></service></servicedata>
<param name="changesrevision">770566a51aa972c320b545d2292626057aabe831</param></service></servicedata>

View File

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

View File

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

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Sat Jan 20 07:21:00 UTC 2024 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
- Update to version 1704220143.770566a:
* gen: add column to dbgloc
* Check for STORAGE_ERROR before lowering Hare vaargs
* qtype: fix -Werror failures
* add .builds/openbsd.yml
* gen: move tagged value to first aligned offset
* OpenBSD: fix tests
* replace ./configure with config.mk
* fix confusing wording in parse.c
- Update specfile
* Adopt new makefile to new configs
-------------------------------------------------------------------
Sat Dec 23 08:12:46 UTC 2023 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>

View File

@@ -1,4 +1,4 @@
name: harec
version: 1702179030.9d51b36
mtime: 1702179030
commit: 9d51b367aeebcfc8ed0a0c458484b42c0b60a77e
version: 1704220143.770566a
mtime: 1704220143
commit: 770566a51aa972c320b545d2292626057aabe831

View File

@@ -1,7 +1,7 @@
#
# spec file for package harec
#
# Copyright (c) 2023 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
@@ -18,7 +18,7 @@
Name: harec
Release: 0
Version: 1702179030.9d51b36
Version: 1704220143.770566a
Summary: Bootstrap compiler for hare
Group: Development/Tools/Building
URL: https://git.sr.ht/~sircmpwn/harec
@@ -36,28 +36,41 @@ POSIX-compatible systems.
%prep
%setup -q
mkdir -p build/
%build
export CFLAGS="%optflags"
cat > config.mk <<-SH
PREFIX = %{_prefix}
BINDIR = %{_bindir}
# Harec does not use autoconf
pushd build/
../configure
make %{?_smp_mflags} VERSION="%{version}"
popd
PLATFORM = linux
ARCH = %{_arch}
HARECFLAGS =
QBEFLAGS =
ASFLAGS =
LDLINKFLAGS = --gc-sections -z noexecstack
CFLAGS = %{optflags} -Iinclude
LDFLAGS =
LIBS = -lm
CC = cc
AS = as
LD = ld
QBE = qbe
HARECACHE = .cache
BINOUT = .bin
DEFAULT_TARGET = %{_arch}
VERSION = %{version}
SH
make
%install
export CFLAGS="%optflags"
pushd build/
make %{?_smp_mflags} VERSION="%{version}" DESTDIR="%{buildroot}" BINDIR="%{_bindir}" install
popd
make DESTDIR=%{buildroot} install
%check
export CFLAGS="%optflags"
cd build
../configure
make %{?_smp_mflags} check
make check
%files
%{_bindir}/%{name}