mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-01 23:05:11 +00:00
Make pam_apparmor dependencies correct for opensuse 10.2 and earlier.
This commit is contained in:
@@ -20,10 +20,20 @@ Summary: Pam module to add AppArmor change_hat functionality
|
|||||||
URL: http://forge.novell.com/modules/xfmod/project/?apparmor
|
URL: http://forge.novell.com/modules/xfmod/project/?apparmor
|
||||||
Source: pam_apparmor-%{version}-@@repo_version@@.tar.gz
|
Source: pam_apparmor-%{version}-@@repo_version@@.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: pam-devel libapparmor-devel
|
BuildRequires: pam-devel
|
||||||
Requires: pam
|
Requires: pam
|
||||||
Prereq: pam
|
Prereq: pam
|
||||||
|
|
||||||
|
%if %{?suse_version:1}0
|
||||||
|
%if 0%{?suse_version} < 1030
|
||||||
|
BuildRequires: libapparmor
|
||||||
|
%else
|
||||||
|
BuildRequires: libapparmor-devel
|
||||||
|
%endif
|
||||||
|
%else
|
||||||
|
BuildRequires: libapparmor-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The pam_apparmor module provides the means for any pam applications that
|
The pam_apparmor module provides the means for any pam applications that
|
||||||
call pam_open_session() to automatically perform an AppArmor change_hat
|
call pam_open_session() to automatically perform an AppArmor change_hat
|
||||||
|
Reference in New Issue
Block a user