public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/homebank] f43: Modernize spec: use %make_install and add %check section
@ 2026-05-30 22:20 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-05-30 22:20 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

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

            Log:
            Modernize spec: use %make_install and add %check section

- Use %make_install instead of manual make install
- Move validation to %check
- Remove deprecated %ldconfig_scriptlets
- Fix trailing whitespace in Summary

---
diff --git a/homebank.spec b/homebank.spec
index c00ca04..92bf6bd 100644
--- a/homebank.spec
+++ b/homebank.spec
@@ -1,7 +1,7 @@
 Name:           homebank
 Version:        5.10
 Release:        %{autorelease}
-Summary:        Free easy personal accounting for all  
+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
@@ -43,20 +43,12 @@ chmod -x src/*.*
 %make_build
 
 %install
-make install DESTDIR=%{buildroot} INSTALL='install -p'
-mkdir -p %{buildroot}%{_datadir}/pixmaps
-mkdir -p %{buildroot}%{_datadir}/applications
-desktop-file-install                                    \
-        --delete-original                               \
-        --dir %{buildroot}%{_datadir}/applications   \
-        --mode 0644                                     \
-        %{buildroot}%{_datadir}/applications/%{name}.desktop
-
+%make_install
 %find_lang %{name}
 
-appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/%{name}.appdata.xml
-
-%ldconfig_scriptlets
+%check
+desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
+appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml
 
 %files -f %{name}.lang
 %doc AUTHORS ChangeLog NEWS README

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

only message in thread, other threads:[~2026-05-30 22:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-30 22:20 [rpms/homebank] f43: Modernize spec: use %make_install and add %check section Filipe Rosset

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