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
8954cd6f
Commit
8954cd6f
authored
Jun 08, 2017
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmcs: use ALT Sisyphus name
parent
a10de65a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
rpmcs
bin/rpmcs
+4
-4
No files found.
bin/rpmcs
View file @
8954cd6f
...
...
@@ -197,7 +197,7 @@ do
# use in cases
# subst "s|%mdkversion||g" $i
# TODO: drop it
# If it was PLD spec
if
grep
"^%define date"
$i
;
then
# with dummy spec we can't have any parsing problems
...
...
@@ -206,11 +206,11 @@ do
subst
"s|^%changelog.*|
`
stamp_spec
$i
.dummy
`
|"
$i
rm
-f
$i
.dummy
subst
"s|^%define date.*|%changelog|"
$i
subst
"s|* %{date} PLD Team
\(
.*
\)
|- initial build for ALT
Linux
Sisyphus (spec from PLD Team)|"
$i
subst
"s|* %{date} PLD Team
\(
.*
\)
|- initial build for ALT Sisyphus (spec from PLD Team)|"
$i
else
echo
"PLD spec..."
awk
'{if ( ! /^%define date/){print}else{exit}}'
$i
>
$i
.tmp
&&
mv
-f
$i
.tmp
$i
add_changelog
$i
-e
"- initial build for ALT
Linux
Sisyphus (spec from PLD)"
add_changelog
$i
-e
"- initial build for ALT Sisyphus (spec from PLD)"
fi
fi
...
...
@@ -507,7 +507,7 @@ do
# if there is no altlinux in changelog yet
if
!
grep
-v
"Packager"
$SPEC
|
grep
-q
"@altlinux"
;
then
echo
"Add changelog with initial build"
add_changelog
$SPEC
-e
"- initial build for ALT
Linux
Sisyphus"
add_changelog
$SPEC
-e
"- initial build for ALT Sisyphus"
fi
...
...
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