From de7b119941b4e27a22db60767381c6558ece79ad Mon Sep 17 00:00:00 2001 From: Peter G Date: Sat, 18 Nov 2023 21:18:47 +0000 Subject: [PATCH] Move macros to yaml (#523) Co-authored-by: nephros --- rpm/harbour-fernschreiber.spec | 2 +- rpm/harbour-fernschreiber.yaml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/rpm/harbour-fernschreiber.spec b/rpm/harbour-fernschreiber.spec index c482b80..b5eb5c1 100644 --- a/rpm/harbour-fernschreiber.spec +++ b/rpm/harbour-fernschreiber.spec @@ -6,9 +6,9 @@ Name: harbour-fernschreiber # >> macros +# << macros %define __provides_exclude_from ^%{_datadir}/.*$ %define __requires_exclude ^libtdjson.*$ -# << macros Summary: Fernschreiber is a Telegram client for Sailfish OS Version: 0.17 diff --git a/rpm/harbour-fernschreiber.yaml b/rpm/harbour-fernschreiber.yaml index 9a4782a..c5e2948 100644 --- a/rpm/harbour-fernschreiber.yaml +++ b/rpm/harbour-fernschreiber.yaml @@ -30,6 +30,11 @@ PkgConfigBR: - nemonotifications-qt5 - openssl +# NB: spectacle has a bug where it will remove custom "#<< macros" lines, so define them here: +Macros: + - '__provides_exclude_from;^%{_datadir}/.*$' + - '__requires_exclude;^libtdjson.*$' + # Build dependencies without a pkgconfig setup can be listed here PkgBR: - gperf