Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
playground
:
repotesting
>
nagios-plugins
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Changed
nagios-plugins.spec
@@ -4,7 +4,7 @@ %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global commdate 20190926 -%global gitbuild 1 +%global gitbuild 0 %define pkgname nagios-plugins Name: nagios-plugins @@ -19,14 +19,14 @@ Group: Applications/System License: GPL URL: https://www.nagios-plugins.org/ -%if 0%{?gitbuild:1} +%if 0%{?gitbuild:1} > 0 Source0: https://github.com/nagios-plugins/%{name}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz %else Source0: %{pkgname}-%{version}.tar.bz2 %endif Source1: %{name}-rpmlintrc -%if 0%{?gitbuild:1} +%if 0%{?gitbuild:1} > 0 Patch1: nagios-plugins-0001-Fix-mysql-f27.patch Patch2: nagios-plugins-0002-Remove-assignment-of-not-parsed-to-jitter.patch Patch7: nagios-plugins-0007-Fix-the-use-lib-statement-and-the-external-ntp-comma.patch @@ -118,7 +118,7 @@ %prep -%if 0%{?gitbuild:1} +%if 0%{?gitbuild:1} > 0 %setup -q -n %{name}-%{commit} %if 0%{?fedora} >26 %patch1 -p1 -b .fix_mysql @@ -136,7 +136,7 @@ %endif %build -%if 0%{?gitbuild:1} +%if 0%{?gitbuild:1} > 0 ./tools/setup %endif ./configure \