public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/homebank] epel10.2: Final cleanup of spec file
@ 2026-06-08 18:42 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-08 18:42 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/homebank
            Branch : epel10.2
            Commit : 49f506434eef9f69fdc74aa70cf100992b6f5908
            Author : Filipe Rosset <rosset.filipe@gmail.com>
            Date   : 2026-03-12T21:52:41-03:00
            Stats  : +5/-5 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/homebank/c/49f506434eef9f69fdc74aa70cf100992b6f5908?branch=epel10.2

            Log:
            Final cleanup of spec file

- Add -p1 to %autosetup
- Use trailing slashes for directories in %files
- Consistent use of %{_metainfodir}

---
diff --git a/homebank.spec b/homebank.spec
index 81718b5..c7ddd02 100644
--- a/homebank.spec
+++ b/homebank.spec
@@ -36,7 +36,7 @@ Documentation files for homebank
 %prep
 # workaround for 5.10 difference between .tar.gz and the actual 5.10.0 dir
 # this workarnoud should be remove from 5.10.x onwards
-%autosetup -n %{name}-%{version}.0
+%autosetup -p1 -n %{name}-%{version}.0
 chmod -x AUTHORS ChangeLog COPYING NEWS README doc/TODO src/*.*
 
 %build
@@ -56,9 +56,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdat
 %doc AUTHORS ChangeLog NEWS README
 %{_bindir}/%{name}
 %dir %{_datadir}/%{name}/
-%{_datadir}/%{name}/images
-%{_datadir}/%{name}/icons
-%{_datadir}/%{name}/datas
+%{_datadir}/%{name}/images/
+%{_datadir}/%{name}/icons/
+%{_datadir}/%{name}/datas/
 %{_datadir}/applications/*%{name}.desktop
 %{_datadir}/icons/hicolor/*/apps/%{name}.png
 %{_datadir}/mime-info/%{name}.*
@@ -69,7 +69,7 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdat
 %files doc
 %license COPYING
 %doc doc/TODO
-%{_datadir}/%{name}/help
+%{_datadir}/%{name}/help/
 
 %changelog
 %autochangelog

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

only message in thread, other threads:[~2026-06-08 18:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-08 18:42 [rpms/homebank] epel10.2: Final cleanup of spec file Filipe Rosset

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