Accepting request 868745 from home:cboltz

- define %_pamdir for <= 15.x to fix the build on those releases

OBS-URL: https://build.opensuse.org/request/show/868745
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=290
This commit is contained in:
Christian Boltz 2021-02-02 18:37:25 +00:00 committed by Git OBS Bridge
parent a564ac7aa3
commit 8416250f76
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 2 18:35:17 UTC 2021 - Christian Boltz <suse-beta@cboltz.de>
- define %_pamdir for <= 15.x to fix the build on those releases
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 22 11:23:59 UTC 2021 - Christian Boltz <suse-beta@cboltz.de> Fri Jan 22 11:23:59 UTC 2021 - Christian Boltz <suse-beta@cboltz.de>

View File

@ -23,6 +23,11 @@
%define sbindir /sbin %define sbindir /sbin
%endif %endif
%if 0%{?suse_version} <= 1500
# _pamdir isn't defined in 15.x
%define _pamdir /%{_lib}/security
%endif
# warning - confusing syntax ahead ;-) # warning - confusing syntax ahead ;-)
# bcond_with means "disable" # bcond_with means "disable"
# bcond_without means "enable" # bcond_without means "enable"