Compare commits

..

No commits in common. "main" and "v0.8.9+96879a8" have entirely different histories.

4 changed files with 2 additions and 68 deletions

View file

@ -10,7 +10,6 @@ For more information on lune, see [lune-org/lune](https://github.com/lune-org/lu
| Scoop | ![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/CompeyDev/lune-packaging/scoop_test.yaml?logo=windows&logoColor=blue&label=%20&color=black) | | Scoop | ![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/CompeyDev/lune-packaging/scoop_test.yaml?logo=windows&logoColor=blue&label=%20&color=black) |
| AppImage | ![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/CompeyDev/lune-packaging/appimage.yaml?logo=linux&logoColor=yellow&label=%20&color=black) | | AppImage | ![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/CompeyDev/lune-packaging/appimage.yaml?logo=linux&logoColor=yellow&label=%20&color=black) |
| APT | ![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/CompeyDev/lune-packaging/apt.yaml?logo=debian&logoColor=red&label=%20&color=black) | | APT | ![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/CompeyDev/lune-packaging/apt.yaml?logo=debian&logoColor=red&label=%20&color=black) |
| COPR | [Project](https://copr.fedorainfracloud.org/coprs/devcomp/lune/) |
## Installation ## Installation

@ -1 +1 @@
Subproject commit 5d1401cdf611cc9f215f03bdf16ada0e77717edf Subproject commit 010cd36375b467c85292ec87c922ee5806d79581

View file

@ -1 +1 @@
5d1401c 010cd36

View file

@ -1,65 +0,0 @@
Name: lune
Version: 0.8.9
Release: 1%{?dist}
Summary: A standalone Luau runtime
License: MPL2
URL: https://github.com/lune-org/lune
Source0: https://github.com/lune-org/lune/archive/refs/tags/v%{version}.tar.gz
ExclusiveArch: x86_64 aarch64
BuildRequires: cmake
BuildRequires: rust
BuildRequires: cargo
BuildRequires: just
BuildRequires: clang
BuildRequires: perl
%ifarch aarch64
BuildRequires: binutils-aarch64-linux-gnu
BuildRequires: gcc-c++-aarch64-linux-gnu
BuildRequires: gcc-aarch64-linux-gnu
BuildRequires: musl-devel
%endif
Requires: libstdc++
Requires: libgcc
Requires: openlibm
Requires: glibc
%description
%{summary}.
%prep
%setup -q -n lune-%{version}
# Removes the first line containing clippy lint attribute which is falsely flagged as a shebang in build
find . -type f -name "*.rs" -exec perl -i -ne 'print unless /^\#!\[/ ' {} +
cat <<EOF > .cargo/config.toml
[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"
rustflags = ["-L", "/usr/lib/gcc/aarch64-linux-gnu/14"]
EOF
%build
just build --locked --release
%install
mkdir -p %{buildroot}/%{_bindir}
install -m0755 ./target/release/%{name} %{buildroot}/%{_bindir}/%{name}
%files
%license LICENSE.txt
%{_bindir}/%{name}
%changelog
%autochangelog