forked from pool/git-cliff
- Adopt new way to package rust software with obs-service-cargo:
* remove cargo_config. it's part of vendor.tar now - Update to version 2.1.2: * feat(npm): add programmatic API for TypeScript * chore(fixtures): enable verbose logging for output * refactor(clippy): apply clippy suggestions * refactor(changelog): do not output to stdout when prepend is used * feat(args): add `--tag-pattern` argument * fix(config): fix commit parser regex in the default config * fix(github): sanitize the GitHub token in debug logs * chore(config): add animation to the header of the changelog * refactor(clippy): apply clippy suggestions * docs(security): update security policy * chore(project): add readme to core package * chore(embed): do not allow missing docs * chore(config): skip dependabot commits for dev updates * docs(readme): mention RustLab 2023 talk * chore(config): revamp the configuration files * chore(docker): update versions in Dockerfile * chore(example): use full links in GitHub templates * chore(project): bump MSRV to 1.74.1 * revert(config): use postprocessors for checking the typos * feat(template): support using PR labels in the GitHub template * docs(configuration): fix typo * feat(args): add `--no-exec` flag for skipping command execution * chore(command): explicitly set the directory of command to current dir * refactor(ci): use hardcoded workspace members for cargo-msrv command * refactor(ci): simplify cargo-msrv installation * refactor(clippy): apply clippy suggestions * refactor(config): use postprocessors for checking the typos OBS-URL: https://build.opensuse.org/package/show/utilities/git-cliff?expand=0&rev=21
This commit is contained in:
committed by
Git OBS Bridge
parent
da368abebd
commit
a56a3545b8
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package git-cliff
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# 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
|
||||
@@ -17,16 +17,15 @@
|
||||
|
||||
|
||||
Name: git-cliff
|
||||
Version: 1.4.0
|
||||
Version: 2.1.2
|
||||
Release: 0
|
||||
Summary: Changelog generator for git repositories
|
||||
URL: https://github.com/orhun/git-cliff
|
||||
License: (Apache-2.0 OR MIT) AND Unicode-DFS-2016 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR MIT OR Zlib) AND (Apache-2.0 OR MIT OR Zlib) AND (MIT OR Unlicense) AND (Apache-2.0 OR Zlib OR MIT) AND Apache-2.0 AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 AND GPL-3.0-only AND SUSE-GPL-2.0-with-linking-exception+
|
||||
Source0: https://github.com/orhun/git-cliff/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: vendor.tar.zst
|
||||
Source2: cargo_config
|
||||
BuildRequires: cargo
|
||||
BuildRequires: cargo-packaging
|
||||
BuildRequires: rust+cargo
|
||||
BuildRequires: zstd
|
||||
ExclusiveArch: %{rust_arches}
|
||||
|
||||
@@ -66,11 +65,10 @@ Bash command-line completion support for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -a1
|
||||
mkdir .cargo
|
||||
cp %{SOURCE2} .cargo/config
|
||||
|
||||
%build
|
||||
%{cargo_build} --no-default-features
|
||||
# We don't need to check an update. github feature is nice to have though
|
||||
%{cargo_build} --no-default-features -F github
|
||||
mkdir -p target/completions/
|
||||
mkdir -p target/man/
|
||||
OUT_DIR=target/completions/ ./target/release/%{name}-completions
|
||||
|
Reference in New Issue
Block a user