Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
policycoreutils
get_os_version.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File get_os_version.patch of Package policycoreutils
Index: policycoreutils-3.7/selinux-python-3.7/sepolicy/sepolicy/__init__.py =================================================================== --- policycoreutils-3.7.orig/selinux-python-3.7/sepolicy/sepolicy/__init__.py +++ policycoreutils-3.7/selinux-python-3.7/sepolicy/sepolicy/__init__.py @@ -1245,7 +1245,8 @@ def get_os_version(): import distro system_release = distro.name(pretty=True) except (ModuleNotFoundError, OSError, IOError, UnicodeError, subprocess.CalledProcessError): - system_release = "Misc" + # make SUSE the default return value on SUSE systems + system_release = "SUSE" return system_release
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor