Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
e7909be7
Commit
e7909be7
authored
Mar 07, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmbph: replace %release with the real value due using in Source: and Patch:
parent
106eccea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
rpmbph
bin/rpmbph
+4
-0
No files found.
bin/rpmbph
View file @
e7909be7
...
...
@@ -23,6 +23,7 @@ local SPECNAME
SPECNAME
=
$1
BASERELEASE
=
$(
get_numrelease
$SPECNAME
)
RELEASE
=
$(
get_release
$SPECNAME
)
FIXPATCHFUZZ
=
"%define _default_patch_fuzz 3"
...
...
@@ -209,6 +210,9 @@ fi
# Fedora 10 does mismatch for Patch: and %patch0
subst
"s|Patch:|Patch0:|g"
$SPECNAME
# Due using %release in Source: and Patch: names
subst
"s|%release|
$RELEASE
|g"
$SPECNAME
# for systems with ash as sh
subst
"s|^pushd
\(
.*
\)
|cd
\1
>/dev/null|g"
$SPECNAME
subst
"s|^popd|cd - >/dev/null|g"
$SPECNAME
...
...
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