Browse code

pkg/kamailio/obs: simplified fedora packaging rules [skip ci]

(cherry picked from commit 1fb5f81618dc142a51104c7b60d467eb1acd9261)

Sergey Safarov authored on 21/12/2019 04:31:20
Showing 1 changed files
... ...
@@ -2,132 +2,7 @@
2 2
 %define ver 5.3.1
3 3
 %define rel dev1.0%{dist}
4 4
 
5
-%if 0%{?fedora} == 27
6
-%define dist_name fedora
7
-%define dist_version %{?fedora}
8
-%bcond_without cnxcc
9
-%bcond_with dnssec
10
-%bcond_without geoip
11
-%bcond_without http_async_client
12
-%bcond_without ims
13
-%bcond_without jansson
14
-%bcond_without json
15
-%bcond_without lua
16
-%bcond_without kazoo
17
-%bcond_without memcached
18
-%bcond_without mongodb
19
-%bcond_without perl
20
-%bcond_without phonenum
21
-%bcond_without python3
22
-%bcond_without rabbitmq
23
-%bcond_without redis
24
-%bcond_without ruby
25
-%bcond_without sctp
26
-%bcond_without websocket
27
-%bcond_without xmlrpc
28
-%endif
29
-
30
-%if 0%{?fedora} == 28
31
-%define dist_name fedora
32
-%define dist_version %{?fedora}
33
-%bcond_without cnxcc
34
-%bcond_with dnssec
35
-%bcond_without geoip
36
-%bcond_without http_async_client
37
-%bcond_without ims
38
-%bcond_without jansson
39
-%bcond_without json
40
-%bcond_without lua
41
-%bcond_without kazoo
42
-%bcond_without memcached
43
-%bcond_without mongodb
44
-%bcond_without perl
45
-%bcond_without phonenum
46
-%bcond_without python3
47
-%bcond_without rabbitmq
48
-%bcond_without redis
49
-%bcond_without ruby
50
-%bcond_without sctp
51
-%bcond_without websocket
52
-%bcond_without xmlrpc
53
-%endif
54
-
55
-%if 0%{?fedora} == 29
56
-%define dist_name fedora
57
-%define dist_version %{?fedora}
58
-%bcond_without cnxcc
59
-%bcond_with dnssec
60
-%bcond_without geoip
61
-%bcond_without http_async_client
62
-%bcond_without ims
63
-%bcond_without jansson
64
-%bcond_without json
65
-%bcond_without lua
66
-%bcond_without kazoo
67
-%bcond_without memcached
68
-%bcond_without mongodb
69
-%bcond_without perl
70
-%bcond_without phonenum
71
-%bcond_without python3
72
-%bcond_without rabbitmq
73
-%bcond_without redis
74
-%bcond_without ruby
75
-%bcond_without sctp
76
-%bcond_without websocket
77
-%bcond_without xmlrpc
78
-%endif
79
-
80
-%if 0%{?fedora} == 30
81
-%define dist_name fedora
82
-%define dist_version %{?fedora}
83
-%bcond_without cnxcc
84
-%bcond_with dnssec
85
-%bcond_without geoip
86
-%bcond_without http_async_client
87
-%bcond_without ims
88
-%bcond_without jansson
89
-%bcond_without json
90
-%bcond_without lua
91
-%bcond_without kazoo
92
-%bcond_without memcached
93
-%bcond_without mongodb
94
-%bcond_without perl
95
-%bcond_without phonenum
96
-%bcond_without python3
97
-%bcond_without rabbitmq
98
-%bcond_without redis
99
-%bcond_without ruby
100
-%bcond_without sctp
101
-%bcond_without websocket
102
-%bcond_without xmlrpc
103
-%endif
104
-
105
-%if 0%{?fedora} == 31
106
-%define dist_name fedora
107
-%define dist_version %{?fedora}
108
-%bcond_without cnxcc
109
-%bcond_with dnssec
110
-%bcond_without geoip
111
-%bcond_without http_async_client
112
-%bcond_without ims
113
-%bcond_without jansson
114
-%bcond_without json
115
-%bcond_without lua
116
-%bcond_without kazoo
117
-%bcond_without memcached
118
-%bcond_without mongodb
119
-%bcond_without perl
120
-%bcond_without phonenum
121
-%bcond_without python3
122
-%bcond_without rabbitmq
123
-%bcond_without redis
124
-%bcond_without ruby
125
-%bcond_without sctp
126
-%bcond_without websocket
127
-%bcond_without xmlrpc
128
-%endif
129
-
130
-%if 0%{?fedora} == 99
5
+%if 0%{?fedora}
131 6
 %define dist_name fedora
132 7
 %define dist_version %{?fedora}
133 8
 %bcond_without cnxcc