public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-git-absorb] f44: Initial import (#2174380)
Date: Mon, 06 Jul 2026 14:48:14 GMT	[thread overview]
Message-ID: <178334929403.1.7454193188395051220.rpms-rust-git-absorb-a725dbfaa9e9@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-git-absorb
Branch : f44
Commit : a725dbfaa9e9cc7675c265b2705dea145dfc066a
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2023-03-02T13:47:13+01:00
Stats  : +150/-3 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-git-absorb/c/a725dbfaa9e9cc7675c265b2705dea145dfc066a?branch=f44

Log:
Initial import (#2174380)

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..63b2b34
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/git-absorb-0.6.9.crate
+/git-absorb.1

diff --git a/README.md b/README.md
deleted file mode 100644
index c4c2972..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-git-absorb
-
-The rust-git-absorb package

diff --git a/git-absorb-fix-metadata.diff b/git-absorb-fix-metadata.diff
new file mode 100644
index 0000000..eb2c140
--- /dev/null
+++ b/git-absorb-fix-metadata.diff
@@ -0,0 +1,37 @@
+--- git-absorb-0.6.9/Cargo.toml	1970-01-01T00:00:01+00:00
++++ git-absorb-0.6.9/Cargo.toml	2023-03-01T11:42:17.777848+00:00
+@@ -30,26 +30,26 @@
+ path = "src/main.rs"
+ 
+ [dependencies.anyhow]
+-version = "~1.0"
++version = "1.0"
+ 
+ [dependencies.clap]
+-version = "~2.33"
++version = "2.33"
+ 
+ [dependencies.git2]
+-version = "~0.13"
++version = "0.13"
+ default-features = false
+ 
+ [dependencies.memchr]
+-version = "~2.3"
++version = "2.3"
+ 
+ [dependencies.slog]
+-version = "~2.5"
++version = "2.5"
+ 
+ [dependencies.slog-async]
+-version = "~2.5"
++version = "2.5"
+ 
+ [dependencies.slog-term]
+-version = "~2.6"
++version = "2.6"
+ 
+ [dev-dependencies.tempfile]
+-version = "~3.1"
++version = "3.1"

diff --git a/rust-git-absorb.spec b/rust-git-absorb.spec
new file mode 100644
index 0000000..5aac5ca
--- /dev/null
+++ b/rust-git-absorb.spec
@@ -0,0 +1,109 @@
+# Generated by rust2rpm 24
+%bcond_without check
+
+%global crate git-absorb
+
+Name:           rust-git-absorb
+Version:        0.6.9
+Release:        %autorelease
+Summary:        Git commit --fixup, but automatic
+
+License:        BSD-3-Clause
+URL:            https://crates.io/crates/git-absorb
+Source:         %{crates_source}
+Source:         https://github.com/tummychow/git-absorb/raw/%{version}/Documentation/git-absorb.1
+# Manually created patch for downstream crate metadata changes
+# * relax stricter-than-semver version requirements
+Patch:          git-absorb-fix-metadata.diff
+
+BuildRequires:  rust-packaging >= 23
+
+%global _description %{expand:
+Git commit --fixup, but automatic.}
+
+%description %{_description}
+
+%package     -n %{crate}
+Summary:        %{summary}
+# BSD-3-Clause
+# MIT
+# MIT AND GPL-2.0-only WITH GCC-exception-2.0 AND BSD-3-Clause
+# MIT OR Apache-2.0
+# MIT OR Apache-2.0 OR Zlib
+# MPL-2.0 OR MIT OR Apache-2.0
+# Unlicense OR MIT
+# Zlib OR Apache-2.0 OR MIT
+License:        BSD-3-Clause AND MIT AND GPL-2.0-only WITH GCC-exception-2.0
+# LICENSE.dependencies contains a full license breakdown
+
+%description -n %{crate} %{_description}
+
+%files       -n %{crate}
+%license LICENSE.md
+%license LICENSE.dependencies
+%doc README.md
+%{_bindir}/git-absorb
+%{_mandir}/man1/git-absorb.1*
+%{bash_completions_dir}/git-absorb
+%{fish_completions_dir}/git-absorb.fish
+%{zsh_completions_dir}/_git-absorb
+
+%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.md
+%doc %{crate_instdir}/README.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
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+# write license summary and breakdown
+%cargo_license_summary
+%{cargo_license} > LICENSE.dependencies
+# generate shell completions
+./target/release/git-absorb --gen-completions bash > git-absorb.bash
+./target/release/git-absorb --gen-completions fish > git-absorb.fish
+./target/release/git-absorb --gen-completions zsh > git-absorb.zsh
+
+%install
+%cargo_install
+# install manpage
+install -Dpm 644 %{SOURCE1} -t %{buildroot}/%{_mandir}/man1/
+# install shell completions
+install -Dpm 0644 git-absorb.bash %{buildroot}/%{bash_completions_dir}/git-absorb
+install -Dpm 0644 git-absorb.fish %{buildroot}/%{fish_completions_dir}/git-absorb.fish
+install -Dpm 0644 git-absorb.zsh %{buildroot}/%{zsh_completions_dir}/_git-absorb
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog

diff --git a/sources b/sources
new file mode 100644
index 0000000..7a81b03
--- /dev/null
+++ b/sources
@@ -0,0 +1,2 @@
+SHA512 (git-absorb-0.6.9.crate) = 4712d3f0ef94f1f3e0ac6af6dca6f0f3811a63f4e27b2da4746f60cd890aab7118de5a73416278a098b925b931f38e53d849fc3b6c48355f4469f68af3bd4587
+SHA512 (git-absorb.1) = bc813f538beb4b67f2a0bc42f3da5ffde7233eb355b74d87eccd3d6b2d52d9104614cfdd08081ab9b111c8d0d603eaf70c17c5aa477123f40dcb96add24dcbb2

                 reply	other threads:[~2026-07-06 14:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178334929403.1.7454193188395051220.rpms-rust-git-absorb-a725dbfaa9e9@fedoraproject.org \
    --to=decathorpe@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox