Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rpm-icingadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
packaging
rpm-icingadb
Commits
c5c50cd3
Commit
c5c50cd3
authored
Nov 29, 2019
by
Noah Hilverling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use go mod & disable tests
parent
c8990af5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
11 deletions
+2
-11
icingadb.spec
icingadb.spec
+2
-11
No files found.
icingadb.spec
View file @
c5c50cd3
...
...
@@ -72,25 +72,16 @@ Icinga DB
%setup -q
%build
mkdir -p src/%{provider}.%{provider_tld}/%{project}
ln -s ../../../ src/%{import_path}
export GO111MODULE=on
export GOPATH=$(pwd):%{gopath}
pushd src/%{import_path}
%gobuild .
popd
%check
%if ! 0%{?gotest:1}
%global gotest %{?golang_scl_enable} go test
%endif
export GOPATH=$(pwd):%{gopath}
pushd src/%{import_path}
%gotest ./...
popd
#%%gotest ./...
%install
install -d -m 0755 %{buildroot}%{_sbindir}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment