Mention when the macro definition can be removed

This commit is contained in:
Zdenek Dohnal 2023-11-20 13:14:34 +01:00
parent dd04611c3a
commit 39bf539164

View File

@ -17,7 +17,8 @@
%bcond_with gtk2
%endif
# added in cups-1:2.4.7-3
# added in cups-1:2.4.7-3 - remove once F40 is EOL and C10S is released
# (that's the safe bet for versions where macros will be always available)
%{!?_cups_datadir:%global _cups_datadir %(/usr/bin/pkg-config --variable=cups_datadir cups)}
%{!?_cups_serverroot:%global _cups_serverroot %(/usr/bin/pkg-config --variable=cups_serverroot cups)}