Force xz rpm compression

That improves the chances of rpm being installable on a system that
doesn't support zstd compression
This commit is contained in:
Slava Monich 2024-05-15 05:03:14 +03:00 committed by jgibbon
parent 0817e8c05b
commit fd7563bc88
2 changed files with 2 additions and 0 deletions

View file

@ -9,6 +9,7 @@ Name: harbour-fernschreiber
# << macros # << macros
%define __provides_exclude_from ^%{_datadir}/.*$ %define __provides_exclude_from ^%{_datadir}/.*$
%define __requires_exclude ^libtdjson.*$ %define __requires_exclude ^libtdjson.*$
%define _binary_payload w6.xzdio
Summary: Fernschreiber is a Telegram client for Sailfish OS Summary: Fernschreiber is a Telegram client for Sailfish OS
Version: 0.17 Version: 0.17

View file

@ -34,6 +34,7 @@ PkgConfigBR:
Macros: Macros:
- '__provides_exclude_from;^%{_datadir}/.*$' - '__provides_exclude_from;^%{_datadir}/.*$'
- '__requires_exclude;^libtdjson.*$' - '__requires_exclude;^libtdjson.*$'
- '_binary_payload;w6.xzdio'
# Build dependencies without a pkgconfig setup can be listed here # Build dependencies without a pkgconfig setup can be listed here
PkgBR: PkgBR: