5 Commits

5 changed files with 22 additions and 23 deletions

View File

@@ -1,13 +0,0 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/michaelforney/samurai</param>
<param name="revision">4cc8f4a3654b72c977e0e62367d1ab6d5b873def</param>
<param name="versionformat">@PARENT_TAG@+g@TAG_OFFSET@</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

View File

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

View File

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

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Jun 9 23:41:32 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
- Update to 1.2+git41.737f702
* Implement load average option
* Include exit status in job failure message
- Use %set_build_flags and enhance build script
-------------------------------------------------------------------
Thu Feb 17 22:00:50 UTC 2022 - Andreas Schwab <schwab@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package samurai
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,14 +16,15 @@
#
%global git_ref 737f702fed670acb25e5e70b4b802690df7a4a8b
Name: samurai
Version: 1.2+g24
Version: 1.2+git41.g737f702
Release: 0
Summary: C99 implementation of the ninja build tool
License: Apache-2.0
Group: Development/Tools/Building
URL: https://github.com/michaelforney/samurai
Source0: %name-%version.tar.xz
Source0: %{URL}/archive/%{git_ref}/%{name}-%{version}.tar.gz
BuildRequires: c_compiler
BuildRequires: make
@@ -36,18 +37,21 @@ except for MSVC dependency handling. It uses the same format for the
and 4, respectively.
%prep
%autosetup
%autosetup -n %{name}-%{git_ref} -p1
%build
export CC=cc
%set_build_flags
make clean
%make_build CC=cc CFLAGS="%optflags" %{?_smp_mflags}
%make_build
%install
%make_install PREFIX="%_prefix"
%files
%license LICENSE
%_bindir/*
%_mandir/man1/*.1*
%license LICENSE
%changelog