The package rpms/harec.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/harec.git/commit/?id=8792dc0e9cf1e30....
Change: +ExclusiveArch: x86_64 aarch64
Thanks.
Full change: ============
commit 8792dc0e9cf1e3070951c3adee71cfd3ce4f9c75 Author: Benson Muite benson_muite@emailplus.org Date: Sat Dec 24 17:04:34 2022 +0300
Initial import (fedora#2154218).
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0578280 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/a1aa5039.tar.gz diff --git a/harec.spec b/harec.spec new file mode 100644 index 0000000..c359278 --- /dev/null +++ b/harec.spec @@ -0,0 +1,64 @@ +%global commit a1aa5039bc199cfe56731dcdd4e1cb616a9ab7a5 +%global shortcommit %(c=%{commit}; echo ${c:0:8}) +%global date 20221126 + +Summary: Hare bootstrap compiler +Name: harec +License: GPL-3.0-only + +Version: 0^%{date}git%{shortcommit} +Release: 3%{?dist} + +URL: https://git.sr.ht/~sircmpwn/harec +Source0: %{url}/archive/%{shortcommit}.tar.gz + +BuildRequires: make +BuildRequires: gcc +BuildRequires: qbe + +# Due to qbe dependency +ExclusiveArch: x86_64 aarch64 + +%description +This is a Hare compiler written in C11 for POSIX-compatible systems. +It is intended as a bootstrap compiler and using the Hare standard +library is recommended for production use. + +%prep +%autosetup -n %{name}-%{shortcommit} + +%build +# Note: we do not use the configure macro since it set some flags +# which are not supported by upstream's script. +./configure \ + --prefix=%{_prefix} \ + --bindir=%{_bindir} \ + --sysconfdir=%{_sysconfdir} \ + --libdir=%{_libdir} \ + --mandir=%{_mandir} +%make_build + +%install +%make_install + +%check +make check + +%files +%license COPYING +%doc README.md +%doc docs/declaration_solver.txt +%doc docs/env.txt +%doc docs/runtime.txt +%{_bindir}/harec + +%changelog +* Thu Dec 22 2022 Benson Muite benson_muite@emailplus.org - 0^20221126gita1aa5039-3 +- Move configure to build section + +* Mon Dec 19 2022 Benson Muite benson_muite@emailplus.org - 0^20221126gita1aa5039-2 +- Update build flags and versioning based on review + +* Fri Dec 16 2022 Benson Muite benson_muite@emailplus.org - 0^20221126gita1aa5039-1 +- Initial packaging + diff --git a/sources b/sources new file mode 100644 index 0000000..2417a9f --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (a1aa5039.tar.gz) = a1f902cb8856f243e444e0ca25f6dc504b101bbd640c4c620d107bfe306c321f754b83390a5e8e27285aba2b5e6384cd6c6e080abae04680a37d3c7b6f5e919a
arch-excludes@lists.fedoraproject.org