File uutils-coreutils.spec of Package uutils-coreutils

#
# spec file for package *
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           uutils-coreutils
Version:        
Release:        0
Summary:        Cross-platform Rust rewrite of the GNU coreutils
License:        MIT
URL:            https://uutils.github.io
Source0:        %{name}-%{version}.tar
Source1:        vendor.tar.zst
BuildRequires:  c++_compiler
BuildRequires:  cargo-packaging
BuildRequires:  clang-devel
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(libacl)
BuildRequires:  pkgconfig(libselinux)

%description

%prep
%autosetup -p1 -a1

%build
export PROJECT_NAME_FOR_VERSION_STRING=coreutils
%make_build FEATURES='unix feat_acl feat_selinux'
#%%{cargo_build} --features "unix feat_acl feat_selinux"

%install
%make_install FEATURES='unix feat_acl feat_selinux'
#%%{cargo_install}

%check
#%%{cargo_test}

%files
%license LICENSE
%doc README.md
%{_bindir}/*
%{_mandir}/man1/coreutils.1%{?ext_man}

%changelog
openSUSE Build Service is sponsored by