Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zentraler Informatikdienst
Z
Zentrale Systeme
zid-scripts
rpmbuild-setup-from-git
Commits
d3f0498d
Commit
d3f0498d
authored
Mar 18, 2016
by
Otheus Shelling
😀
Browse files
meta-info updates
parent
27fe3d84
Pipeline
#961
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
README.md
README.md
+9
-0
No files found.
README.md
View file @
d3f0498d
...
...
@@ -16,3 +16,12 @@ directly from git. The usage is something like this (inside .spec file):
To make it work, the included macro _must be appended_ to either
`~/.rpmmacros`
or
one of the site macro files (see
`man rpmbuild`
). (If rpmbuild ever handles a reasonable
method of extension or directory-based includes, that requirement will change.)
For public repositories, no additional effort is required, provided the URL works
(you can test with
`curl`
or
`wget`
or a web browser). For repositories that are private,
an access token is required. Set your token inside the environment variable
`PRIVATE_TOKEN`
and that token will be passed along as an HTTP header
`PRIVATE-TOKEN`
, with a
`-`
instead of
`_`
(underscore).
This has been tested with a gitlab-provided repository, running v3 of the API.
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