public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/homebank] epel10.2: Modernize macros and paths
@ 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 : 90c2051718838ce0dbe6d334b1884829dd690beb
            Author : Filipe Rosset <rosset.filipe@gmail.com>
            Date   : 2026-03-12T21:52:02-03:00
            Stats  : +15/-13 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/homebank/c/90c2051718838ce0dbe6d334b1884829dd690beb?branch=epel10.2

            Log:
            Modernize macros and paths

- Use %{_metainfodir} for metainfo
- Sort BuildRequires and change Source0 to Source
- Clean up %prep chmod calls
- Add %license to doc subpackage

---
diff --git a/homebank.spec b/homebank.spec
index 92bf6bd..60480ef 100644
--- a/homebank.spec
+++ b/homebank.spec
@@ -4,12 +4,19 @@ Release:        %{autorelease}
 Summary:        Free easy personal accounting for all
 License:        GPL-2.0-or-later
 URL:            https://gethomebank.org/
-Source0:        https://gethomebank.org/public/sources/%{name}-%{version}.tar.gz
+Source:          https://gethomebank.org/public/sources/%{name}-%{version}.tar.gz
+BuildRequires:  atk-devel
+BuildRequires:  cairo-devel
+BuildRequires:  desktop-file-utils
 BuildRequires:  gcc
-BuildRequires:  atk-devel cairo-devel desktop-file-utils gettext gtk3-devel
-BuildRequires:  intltool libappstream-glib libofx-devel perl(XML::Parser)
+BuildRequires:  gettext
+BuildRequires:  gtk3-devel
+BuildRequires:  intltool
+BuildRequires:  libappstream-glib
+BuildRequires:  libofx-devel
 BuildRequires:  libsoup3-devel
 BuildRequires:  make
+BuildRequires:  perl(XML::Parser)
 
 %description
 HomeBank is the free software you have always wanted to manage your personal
@@ -30,13 +37,7 @@ Documentation files for homebank
 # 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
-chmod -x NEWS
-chmod -x ChangeLog
-chmod -x README
-chmod -x AUTHORS
-chmod -x COPYING
-chmod -x doc/TODO
-chmod -x src/*.*
+chmod -x AUTHORS ChangeLog COPYING NEWS README doc/TODO src/*.*
 
 %build
 %configure
@@ -48,11 +49,11 @@ chmod -x src/*.*
 
 %check
 desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
-appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml
+appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdata.xml
 
 %files -f %{name}.lang
-%doc AUTHORS ChangeLog NEWS README
 %license COPYING
+%doc AUTHORS ChangeLog NEWS README
 %{_bindir}/%{name}
 %dir %{_datadir}/%{name}/
 %{_datadir}/%{name}/images
@@ -63,9 +64,10 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.a
 %{_datadir}/mime-info/%{name}.*
 %{_datadir}/mime/packages/%{name}.xml
 %{_datadir}/application-registry/%{name}.applications
-%{_datadir}/metainfo/%{name}.appdata.xml
+%{_metainfodir}/%{name}.appdata.xml
 
 %files doc
+%license COPYING
 %doc doc/TODO
 %{_datadir}/%{name}/help
 

^ 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: Modernize macros and paths Filipe Rosset

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