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
d8a05b8a
Commit
d8a05b8a
authored
Aug 20, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmcs: add clean for some macros
parent
7b88f264
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
rpmcs
bin/rpmcs
+4
-0
No files found.
bin/rpmcs
View file @
d8a05b8a
...
...
@@ -71,6 +71,7 @@ do
# Unneeded on ALT
subst
"s|^Prefix:.*
$|
|"
$i
subst
"s|^BuildRoot:.*
$|
|i"
$i
subst
"s|%mkrel||g"
$i
# Add packager
if
!
grep
"^Packager"
$i
;
then
...
...
@@ -139,6 +140,9 @@ do
subst
"s|
\(
%post.*-p *
\)
/sbin/ldconfig|
\1
%post_ldconfig|g"
$i
subst
"s|
\(
%postun.*-p *
\)
/sbin/ldconfig|
\1
%postun_ldconfig|g"
$i
subst
"s|^%_post_service.*||g"
$i
subst
"s|^%_preun_service.*||g"
$i
subst
"s|
\$
RPM_BUILD_ROOT/%|%buildroot%|g"
$i
subst
"s|
\$
RPM_BUILD_ROOT|%buildroot|g"
$i
...
...
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