Skip to content

Commit

Permalink
Use the new apache2-mod_wsgi package name
Browse files Browse the repository at this point in the history
  • Loading branch information
deneb-alpha committed Nov 2, 2023
1 parent 57c2e3b commit 290727f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Use the new apache2-mod_wsgi package name
4 changes: 2 additions & 2 deletions python/spacewalk/spacewalk-backend.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# spec file for package spacewalk-backend
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2008-2018 Red Hat, Inc.
#
# All modifications and additions to the file contributed by third parties
Expand Down Expand Up @@ -116,7 +116,7 @@ Group: System/Management
Requires(pre): %{name}-sql = %{version}-%{release}
Requires: %{name}-sql = %{version}-%{release}
Requires: spacewalk-config
Requires: (apache2-mod_wsgi-python3 or python3-mod_wsgi)
Requires: (apache2-mod_wsgi or python3-mod_wsgi)
Requires: (python3-pam or python3-python-pam)

# cobbler-web is known to break our configuration
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Use the new apache2-mod_wsgi package name
- Build with Python 3 and clean up references to Python 2
15 changes: 2 additions & 13 deletions tftpsync/susemanager-tftpsync-recv/susemanager-tftpsync-recv.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# spec file for package susemanager-tftpsync-recv
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
Expand All @@ -15,12 +15,6 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


%if 0%{?suse_version} > 1320 || 0%{?rhel}
# SLE15 builds on Python 3
%global build_py3 1
%endif

Name: susemanager-tftpsync-recv
Version: 4.4.1
Release: 1
Expand All @@ -37,13 +31,8 @@ Requires(pre): apache2
Requires(pre): httpd
%endif
Requires(pre): tftp
%if 0%{?build_py3}
Requires: python3
Requires: (apache2-mod_wsgi-python3 or python3-mod_wsgi)
%else
Requires: apache2-mod_wsgi
Requires: python
%endif
Requires: (apache2-mod_wsgi or python3-mod_wsgi)
Requires: spacewalk-backend
Requires: spacewalk-proxy-common
Requires(pre): coreutils
Expand Down

0 comments on commit 290727f

Please sign in to comment.