public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/rust-git-absorb] f44: Fix warning: Extra source '...' might conflict with other files in the future
Date: Mon, 06 Jul 2026 14:48:20 GMT	[thread overview]
Message-ID: <178334930090.1.17988624096168438738.rpms-rust-git-absorb-e1b3c13e4dc3@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rust-git-absorb
            Branch : f44
            Commit : e1b3c13e4dc39b3f8ecb46c9e1ae663a1fd0dc0b
            Author : Timothée Ravier <tim@siosm.fr>
            Date   : 2026-07-02T17:12:28+02:00
            Stats  : +4/-4 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-git-absorb/c/e1b3c13e4dc39b3f8ecb46c9e1ae663a1fd0dc0b?branch=f44

            Log:
            Fix warning: Extra source '...' might conflict with other files in the future

```
WARNING: Extra source 'https://github.com/tummychow/git-absorb/raw/%{version}/Documentation/git-absorb.1'
         might conflict with other files in the future.
         Using source numbers >= 2 is recommended.
```

---
diff --git a/rust-git-absorb.spec b/rust-git-absorb.spec
index f4ac329..2331bb7 100644
--- a/rust-git-absorb.spec
+++ b/rust-git-absorb.spec
@@ -11,7 +11,7 @@ Summary:        Git commit --fixup, but automatic
 License:        BSD-3-Clause
 URL:            https://crates.io/crates/git-absorb
 Source:         %{crates_source}
-Source1:        https://github.com/tummychow/git-absorb/raw/%{version}/Documentation/git-absorb.1
+Source2:        https://github.com/tummychow/git-absorb/raw/%{version}/Documentation/git-absorb.1
 
 BuildRequires:  cargo-rpm-macros >= 24
 
@@ -92,7 +92,7 @@ use the "default" feature of the "%{crate}" crate.
 %install
 %cargo_install
 # install manpage
-install -Dpm 644 %{SOURCE1} -t %{buildroot}/%{_mandir}/man1/
+install -Dpm 644 %{SOURCE2} -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

diff --git a/rust2rpm.toml b/rust2rpm.toml
index d55fa9c..fa125ec 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,6 +1,6 @@
 [package]
 extra-sources = [
-    { number = 1, file = "https://github.com/tummychow/git-absorb/raw/%{version}/Documentation/git-absorb.1" },
+    { number = 2, file = "https://github.com/tummychow/git-absorb/raw/%{version}/Documentation/git-absorb.1" },
 ]
 extra-files = [
     "%{_mandir}/man1/git-absorb.1*",
@@ -18,7 +18,7 @@ build.post = [
 ]
 install.post = [
     "# install manpage",
-    "install -Dpm 644 %{SOURCE1} -t %{buildroot}/%{_mandir}/man1/",
+    "install -Dpm 644 %{SOURCE2} -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",

                 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=178334930090.1.17988624096168438738.rpms-rust-git-absorb-e1b3c13e4dc3@fedoraproject.org \
    --to=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