[packages/dia] - added ldconfig to post and postun - fixed typo in white_gray_horizontal.shape
mrozowik
mrozowik at pld-linux.org
Thu Sep 21 19:49:31 CEST 2023
commit 1e313bfeeb52942183d84669825ab2f2e8490929
Author: Krzysztof Mrozowicz <mrozowik at pld-linux.org>
Date: Thu Sep 21 17:28:07 2023 +0000
- added ldconfig to post and postun
- fixed typo in white_gray_horizontal.shape
dia.spec | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/dia.spec b/dia.spec
index cfe07a1..d82093f 100644
--- a/dia.spec
+++ b/dia.spec
@@ -10,7 +10,7 @@ Name: dia
%define gitref 399526892d86d7e00e2f565e6c50b73c1195c810
%define snap 20230920
Version: 0.97.3.%{snap}
-Release: 1
+Release: 2
Epoch: 1
License: GPL v2+
Group: X11/Applications/Graphics
@@ -92,6 +92,7 @@ BuildRequires: unzip
BuildRequires: zlib-devel
Requires(post,postun): desktop-file-utils
Requires(post,postun): gtk-update-icon-cache
+Requires(post,postun): /sbin/ldconfig
Requires: python3-modules >= 1:2.3
Requires: python3-pygobject3
# sr at Latn vs. sr at latin
@@ -195,16 +196,21 @@ unzip -n -d $RPM_BUILD_ROOT%{_datadir}/%{name} %{SOURCE19}
unzip -n -d $RPM_BUILD_ROOT%{_datadir}/%{name} %{SOURCE20}
unzip -n -d $RPM_BUILD_ROOT%{_datadir}/%{name} %{SOURCE21}
+# fix typo in gradient white_gray_horizontal.shape
+%{__sed} -i 's/white_gray_horzontal/white_gray_horizontal/g' $RPM_BUILD_ROOT%{_datadir}/%{name}/shapes/gradient/white_gray_horizontal.shape
+
%find_lang %{name} --with-gnome --with-omf
%clean
rm -rf $RPM_BUILD_ROOT
%post
+/sbin/ldconfig
%update_desktop_database_post
%update_icon_cache hicolor
%postun
+/sbin/ldconfig
%update_desktop_database_postun
%update_icon_cache hicolor
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dia.git/commitdiff/1e313bfeeb52942183d84669825ab2f2e8490929
More information about the pld-cvs-commit
mailing list