summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/Makefile.python27
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2024-06-18 09:50:47 -0700
committerKonstantin Pavlov <pavlov.konstantin@gmail.com>2024-07-03 16:12:36 -0700
commit63fb95ed5fb6dfa4a0ee492ec11a6e72997f289b (patch)
treebfd46db60384f0d089212bd0c20334c5addeab1c /pkg/rpm/Makefile.python27
parent929a275a4b2e790d7341f7976065872395932fa2 (diff)
downloadunit-63fb95ed5fb6dfa4a0ee492ec11a6e72997f289b.tar.gz
unit-63fb95ed5fb6dfa4a0ee492ec11a6e72997f289b.tar.bz2
Packages: removed CentOS 7 due to EOL
Diffstat (limited to '')
-rw-r--r--pkg/rpm/Makefile.python274
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/rpm/Makefile.python27 b/pkg/rpm/Makefile.python27
index 1d59b81d..aeb1248f 100644
--- a/pkg/rpm/Makefile.python27
+++ b/pkg/rpm/Makefile.python27
@@ -15,7 +15,7 @@ MODULE_SOURCES_python27= unit.example-python-app \
ifneq (,$(findstring $(OSVER),centos8))
BUILD_DEPENDS_python27= python2-devel
-else ifneq (,$(findstring $(OSVER),centos7 amazonlinux2))
+else ifneq (,$(findstring $(OSVER),amazonlinux2))
BUILD_DEPENDS_python27= python-devel
else
BUILD_DEPENDS_python27= python27-devel
@@ -24,7 +24,7 @@ endif
BUILD_DEPENDS+= $(BUILD_DEPENDS_python27)
define MODULE_DEFINITIONS_python27
-%if (0%{?rhel} == 7) || (0%{?amzn} == 2)
+%if 0%{?amzn} == 2
Obsoletes: unit-python
%endif
endef