[packages/qt5-qtdatavis3d] - fix install, rel 4

baggins baggins at pld-linux.org
Sun Nov 28 10:10:11 CET 2021


commit 418a443edbe218a5d2579e34a881f911026b50c6
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Nov 28 10:09:58 2021 +0100

    - fix install, rel 4

 qt5-qtdatavis3d.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/qt5-qtdatavis3d.spec b/qt5-qtdatavis3d.spec
index a0c5633..abc48de 100644
--- a/qt5-qtdatavis3d.spec
+++ b/qt5-qtdatavis3d.spec
@@ -10,7 +10,7 @@ Summary:	The Qt5 Data Visualization library
 Summary(pl.UTF-8):	Biblioteka Qt5 Data Visualization
 Name:		qt5-%{orgname}
 Version:	5.15.2
-Release:	3
+Release:	4
 License:	LGPL v3 or GPL v2+ or commercial
 Group:		X11/Libraries
 Source0:	https://download.qt.io/official_releases/qt/5.15/%{version}/submodules/%{orgname}-everywhere-src-%{version}.tar.xz
@@ -145,7 +145,7 @@ rm -rf $RPM_BUILD_ROOT
 
 # remove compiled examples (package only sources)
 for d in $RPM_BUILD_ROOT%{_examplesdir}/qt5/datavisualization/* ; do
-	[ -d "$d" ] && %{__rm} "$d/$(basename $d)"
+	[ -f "$d/$(basename $d)" ] && %{__rm} "$d/$(basename $d)"
 done
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qt5-qtdatavis3d.git/commitdiff/418a443edbe218a5d2579e34a881f911026b50c6



More information about the pld-cvs-commit mailing list