Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
6e98f681
Commit
6e98f681
authored
Jul 21, 2019
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix libsepol version detection for SUSE
parent
e2bbb6f5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
support-files/CMakeLists.txt
support-files/CMakeLists.txt
+3
-2
No files found.
support-files/CMakeLists.txt
View file @
6e98f681
...
@@ -87,8 +87,9 @@ IF(UNIX)
...
@@ -87,8 +87,9 @@ IF(UNIX)
INSTALL
(
FILES
${
out
}
DESTINATION
${
inst_location
}
/policy/selinux COMPONENT SupportFiles
)
INSTALL
(
FILES
${
out
}
DESTINATION
${
inst_location
}
/policy/selinux COMPONENT SupportFiles
)
ENDFOREACH
()
ENDFOREACH
()
IF
(
RPM
)
IF
(
RPM
)
EXECUTE_PROCESS
(
COMMAND rpm -q --qf
"%{VERSION}-%{RELEASE}"
libsepol OUTPUT_VARIABLE LIBSEPOL_VERSION
)
EXECUTE_PROCESS
(
COMMAND rpm -q --qf
"%{VERSION}-%{RELEASE}"
libsepol
IF
(
LIBSEPOL_VERSION
)
OUTPUT_VARIABLE LIBSEPOL_VERSION RESULT_VARIABLE err
)
IF
(
NOT err
)
SET
(
CPACK_RPM_server_PACKAGE_REQUIRES
SET
(
CPACK_RPM_server_PACKAGE_REQUIRES
"
${
CPACK_RPM_server_PACKAGE_REQUIRES
}
libsepol >=
${
LIBSEPOL_VERSION
}
"
"
${
CPACK_RPM_server_PACKAGE_REQUIRES
}
libsepol >=
${
LIBSEPOL_VERSION
}
"
PARENT_SCOPE
)
PARENT_SCOPE
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment