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
8001c441
Commit
8001c441
authored
Jan 20, 2009
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spec: add spec_by_srpm function
parent
70bc1efd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
spec
share/eterbuild/functions/spec
+7
-0
test_tr_srpm.sh
tests/test_tr_srpm.sh
+0
-6
No files found.
share/eterbuild/functions/spec
View file @
8001c441
...
...
@@ -163,3 +163,10 @@ add_changelog_helper()
return
$R
}
spec_by_srpm
()
{
local
PKG
=
$1
local
PKGNAME
PKGNAME
=
$(
rpm
-qp
--queryformat
"%{NAME}"
$PKG
)
[
-n
"
$PKGNAME
"
]
&&
echo
$PKGNAME
.spec
}
tests/test_tr_srpm.sh
View file @
8001c441
...
...
@@ -13,12 +13,6 @@ pack_srpm_package()
LISTNAMES
=
$1
pack_src_rpm
}
spec_by_srpm
()
{
local
PKGNAME
=
$1
echo
$(
rpm
-qp
--queryformat
"%{NAME}"
$PKGNAME
)
.spec
}
export
IGNOREGEAR
=
1
RPMTOPDIR
=
$RPMDIR
/BP
...
...
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