summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2016-12-09 20:09:22 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2016-12-09 20:09:22 +0100
commit44605adeacd27d8738ab939f164eb24b6717363b (patch)
tree4505cf36e97d8fdaad7e60d1cc3f34d17027177d
parent605dd480dbac55ab8f149ba440e61da28a784f39 (diff)
downloadnagios-plugin-curl-44605adeacd27d8738ab939f164eb24b6717363b.tar.gz
nagios-plugin-curl-44605adeacd27d8738ab939f164eb24b6717363b.tar.bz2
removed some old OBS distros
-rwxr-xr-xdist/debian/rules2
-rw-r--r--dist/redhat/nagios-plugin-curl.spec31
2 files changed, 1 insertions, 32 deletions
diff --git a/dist/debian/rules b/dist/debian/rules
index d788972..52ee837 100755
--- a/dist/debian/rules
+++ b/dist/debian/rules
@@ -14,7 +14,7 @@
export DH_VERBOSE=1
# This is the debhelper compatibility version to use.
-export DH_COMPAT=4
+export DH_COMPAT=5
# This has to be exported to make some magic below work.
export DH_OPTIONS
diff --git a/dist/redhat/nagios-plugin-curl.spec b/dist/redhat/nagios-plugin-curl.spec
index 372a98b..b24ce78 100644
--- a/dist/redhat/nagios-plugin-curl.spec
+++ b/dist/redhat/nagios-plugin-curl.spec
@@ -3,14 +3,8 @@
# Copyright (C) 2012
%define rhel 0
-%define rhel5 0
%define rhel6 0
%define rhel7 0
-%if 0%{?rhel_version} >= 500 && 0%{?rhel_version} <= 599
-%define dist rhel5
-%define rhel 1
-%define rhel5 1
-%endif
%if 0%{?rhel_version} >= 600 && 0%{?rhel_version} <= 699
%define dist rhel6
%define rhel 1
@@ -23,14 +17,8 @@
%endif
%define centos 0
-%define centos5 0
%define centos6 0
%define centos7 0
-%if 0%{?centos_version} >= 500 && 0%{?centos_version} <= 599
-%define dist centos5
-%define centos 1
-%define centos5 1
-%endif
%if 0%{?centos_version} >= 600 && 0%{?centos_version} <= 699
%define dist centos6
%define centos 1
@@ -43,14 +31,8 @@
%endif
%define scilin 0
-%define scilin5 0
%define scilin6 0
%define scilin7 0
-%if 0%{?scilin_version} >= 500 && 0%{?scilin_version} <= 599
-%define dist scilin5
-%define scilin 1
-%define scilin5 1
-%endif
%if 0%{?scilin_version} >= 600 && 0%{?scilin_version} <= 699
%define dist scilin6
%define scilin 1
@@ -77,19 +59,6 @@
%endif
%define suse 0
-%define osu131 0
-%define osu132 0
-%define osufactory 0
-%if 0%{?suse_version} == 1310
-%define dist osu131
-%define osu131 1
-%define suse 1
-%endif
-%if 0%{?suse_version} == 1320
-%define dist osu132
-%define osu132 1
-%define suse 1
-%endif
%if 0%{?suse_version} > 1320
%define dist osufactory
%define osufactory 1