mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 17:51:22 +03:00
rpm: emit warning when macro with typo is used
Follow-up for a6bb550458
. Suggested by @ignatenkobrain.
$ rpmbuild --eval %_environmentdir
/usr/lib/environment.d
$ rpmbuild --eval %_environmnentdir
warning: Use %_environmentdir instead
/usr/lib/environment.d
This commit is contained in:
parent
1235a7dc73
commit
be9bf171bb
@ -28,7 +28,7 @@
|
||||
|
||||
# Because we had one release with a typo...
|
||||
# This is temporary (Remove after systemd 240 is released)
|
||||
%_environmnentdir %_environmentdir
|
||||
%_environmnentdir %{warn:Use %%_environmentdir instead}%_environmentdir
|
||||
|
||||
%systemd_requires \
|
||||
Requires(post): systemd \
|
||||
|
Loading…
Reference in New Issue
Block a user