Skip to content

Commit

Permalink
Move macros to yaml (#523)
Browse files Browse the repository at this point in the history
Co-authored-by: nephros <nemo@pgxperiiia10>
  • Loading branch information
nephros and nephros authored Nov 18, 2023
1 parent 527b2c3 commit de7b119
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rpm/harbour-fernschreiber.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions rpm/harbour-fernschreiber.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit de7b119

Please sign in to comment.