Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pkg-varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
pkg-varnish-cache
Commits
54efd792
Commit
54efd792
authored
Sep 15, 2017
by
Denis Brækhus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Releaseversion fix.
parent
ab35c368
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
package-rpm
package-rpm
+1
-1
varnish.spec
redhat/varnish.spec
+4
-1
No files found.
package-rpm
View file @
54efd792
...
...
@@ -24,7 +24,7 @@ ln "$SOURCE" `basename "$SOURCE"`
findversion
"
$SOURCE
"
if
[
"
$RELEASE
"
==
""
]
;
then
RELEASE
=
"
1
"
RELEASE
=
"
%{nil}
"
fi
sed
-i
-e
"s/^Version:.*/Version:
$V
.
$MINOR
/"
./
*
.spec
sed
-i
-e
"s/.*define v_rc.*/
\%
define v_rc
$RELEASE
/"
./
*
.spec
...
...
redhat/varnish.spec
View file @
54efd792
...
...
@@ -9,8 +9,11 @@
Summary: High-performance HTTP accelerator
Name: varnish
Version: 3.0.0
#Release: 0.20140328%{?v_rc}%{?dist}
%if %{?v_rc} == %{nil}
Release: %{releasetag}%{?dist}
%else
Release: %{releasetag}.%{?v_rc}%{?dist}
%endif
License: BSD
Group: System Environment/Daemons
URL: https://www.varnish-cache.org/
...
...
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