Initial import (#2228512)

epel9
Fabio Valentini 1 year ago
parent 8ccec25f63
commit 5257a46aac
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/gix-mailmap-0.16.1.crate

@ -1,3 +0,0 @@
# rust-gix-mailmap
The rust-gix-mailmap package

@ -0,0 +1,22 @@
--- gix-mailmap-0.16.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ gix-mailmap-0.16.1/Cargo.toml 2023-08-02T13:52:01.290565+00:00
@@ -15,7 +15,7 @@
name = "gix-mailmap"
version = "0.16.1"
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
-description = "A WIP crate of the gitoxide project for parsing mailmap files"
+description = "Parser for mailmap files for gix"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Byron/gitoxide"
@@ -37,10 +37,6 @@
"unicode",
]
default-features = false
-
-[dependencies.document-features]
-version = "0.2.0"
-optional = true
[dependencies.gix-actor]
version = "^0.24.1"

@ -0,0 +1,86 @@
# Generated by rust2rpm 24
# * tests can only be run in-tree
%bcond_with check
%global debug_package %{nil}
%global crate gix-mailmap
Name: rust-gix-mailmap
Version: 0.16.1
Release: %autorelease
Summary: Parser for mailmap files for gix
License: MIT OR Apache-2.0
URL: https://crates.io/crates/gix-mailmap
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * improve crate summary / description
# * drop unused optional dependency that is only useful for building docs
Patch: gix-mailmap-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Parser for mailmap files for gix.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CHANGELOG.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
This package contains library source intended for building other packages which
use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog

@ -0,0 +1 @@
SHA512 (gix-mailmap-0.16.1.crate) = bbc72ce5c87ebb64bcf60f3302a5e90754d235a2d57d94a2531d9c7c0a7c3b2a0fb07e1ce8419bb36edec8d9f50632cb3088a335c11a08dceb3904498d44cca8
Loading…
Cancel
Save