Move macros to yaml (#523)

Co-authored-by: nephros <nemo@pgxperiiia10>
This commit is contained in:
Peter G 2023-11-18 21:18:47 +00:00 committed by GitHub
parent 527b2c3c9a
commit de7b119941
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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