Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Hugo Hörnquist
lysator-rpm-repo
Commits
2f8733b0
Commit
2f8733b0
authored
Jan 06, 2021
by
Hugo Hörnquist
Browse files
Better turnaround time when testing localy.
parent
2aa68708
Pipeline
#634
passed with stage
in 1 minute and 18 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
2f8733b0
...
...
@@ -3,7 +3,7 @@ image: centos:7
build
:
script
:
-
yum install -y rpmdevtools
-
rpmbuild -b
a
lysator-repo.spec
-
rpmbuild -b
b
lysator-repo.spec
artifacts
:
paths
:
-
$HOME/rpmbuild/RPMS
lysator-repo.spec
View file @
2f8733b0
...
...
@@ -12,11 +12,13 @@ Packager: Hugo Hörnquist <hugo@lysator.liu.se>
Meta-package for adding Lysator local repository
%prep
pwd
find . -mindepth 1 -delete
cp -af %{SOURCEURL0}/. .
%install
cp lysator.repo /etc/yum.repos.d/lysator.repo
mkdir -p $RPM_BUILD_ROOT/etc/yum.repos.d
cp lysator.repo $RPM_BUILD_ROOT/etc/yum.repos.d/lysator.repo
%files
%{_prefix}
/etc/yum.repos.d/lysator.repo
/etc/yum.repos.d/lysator.repo
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