public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-git-absorb] rawhide: Fix warning: Extra source '...' might conflict with other files in the future
@ 2026-07-06 14:30 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-07-06 14:30 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rust-git-absorb
            Branch : rawhide
            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=rawhide

            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",

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-06 14:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-06 14:30 [rpms/rust-git-absorb] rawhide: Fix warning: Extra source '...' might conflict with other files in the future 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox