SHA256
1
0
forked from pool/gitoxide
Files
gitoxide/gitoxide.spec
OBS User smolsheep f74e487e01 - Update to version 0.37.0:
New Features
  * add mailmap check similar to git check-mailmap. That way it
    becomes a little easier to maybe try out other special cases in
    the wild.
  * gix clone with --ref support. --ref is similar to --branch, but
    was renamed as it also supports tags for example.
  Other
  * Make it easier to compile gitoxide as dynlib. Also optimize
    compilation time: By making plumbing and porcelain as modules
    the lib.rs, they can be compiled after the rmeta for the
    dependencies are generated.
  * For the uni.rs which uses both plumbing and porcelain, this
    would avoid compiling these two modules twice.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/gitoxide?expand=0&rev=6
2024-07-26 18:43:51 +00:00

57 lines
1.5 KiB
RPMSpec

#
# spec file for package gitoxide
#
# 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
# 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: gitoxide
Version: 0.37.0
Release: 0
Summary: An idiomatic & safe pure-Rust implementation of Git
License: Apache-2.0 OR MIT
Group: Development/Tools/Version Control
URL: https://github.com/Byron/gitoxide
Source0: https://github.com/Byron/gitoxide/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: vendor.tar.zst
BuildRequires: cargo-packaging
BuildRequires: cmake
BuildRequires: openssl-devel
BuildRequires: rust >= 1.67.0
ExclusiveArch: %{rust_arches}
%description
gitoxide is an implementation of git written in Rust for providing a pleasant
and unsurprising developer experience.
%prep
%autosetup -a 1
%build
%{cargo_build}
%install
%{cargo_install}
%check
%{cargo_test}
%files
%doc README.md
%license LICENSE-APACHE LICENSE-MIT
%{_bindir}/gix
%{_bindir}/ein
%changelog