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
09c58f25
Commit
09c58f25
authored
Nov 05, 2015
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmcs: update
parent
f5ed266b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
rpmcs
bin/rpmcs
+10
-2
No files found.
bin/rpmcs
View file @
09c58f25
...
...
@@ -330,8 +330,10 @@ do
subst
"s|%_libdir/mono/gac|%_monogacdir|g
s|%_libdir/mono|%_monodir|g"
$i
subst
"s|%prefix/lib|%_libdir|g
subst
"s|%prefix/lib/|%_libdir/|g
s|%prefix/lib64/|%_libdir/|g
s|%prefix/%_lib|%_libdir|g
s|%prefix/libexec|%_libexecdir|g
s|/usr/%_lib|%_libdir|g
s|%prefix/include|%_includedir|g
s|/usr/include|%_includedir|g
...
...
@@ -351,6 +353,7 @@ do
# TODO: not in expressions
subst
"s|/usr/sbin/|%_sbindir/|g
s|/usr/bin/|%_bindir/|g
s|%prefix/bin/|%_bindir/|g
s|/usr/lib/|%_libdir/|g
s|/usr/share/|%_datadir/|g
s|%_datadir/games|%_gamesdatadir|g"
$i
...
...
@@ -377,6 +380,7 @@ do
s|%python2_version|%__python_version|g
s|%python_sitelib/|%python_sitelibdir/|g
s|%python2_sitelib/|%python_sitelibdir/|g
s|%python3_sitelib/|%python3_sitelibdir/|g
s|%_libdir/python2.[67]/site-packages/|%python_sitelibdir/|g
s|%py_sitedir/|%python_sitelibdir/|g
s|%python_sitearch|%python_sitelibdir|g
...
...
@@ -390,7 +394,8 @@ do
subst
's|^CFLAGS="$RPM_OPT_FLAGS" python setup.py build|%python_build|g'
$i
subst
's|^CFLAGS="%optflags" python setup.py build|%python_build|g'
$i
subst
"s|^%__python setup.py install --root.%buildroot|%python_install|g"
$i
subst
"s|^%__python setup.py install --skip-build --root %buildroot|%python_install|g"
$i
subst
"s|^%__python setup.py install --skip-build --root[ =]%buildroot|%python_install|g"
$i
subst
"s|^%__python3 setup.py install --skip-build --root[ =]%buildroot|%python3_install|g"
$i
subst
"s|^%__python setup.py install -O1 --skip-build --root %buildroot|%python_install|g"
$i
subst
"s|^%__python setup.py install -O2 --root %buildroot|%python_install|g"
$i
subst
"s|^%__python setup.py install --optimize --root %buildroot|%python_install|g"
$i
...
...
@@ -440,6 +445,9 @@ do
subst
"s|%rpmcflags|%optflags|g"
$i
# %license means License field in ALT rpm
subst
"s|^%license |%doc |g"
$i
# drop useless construction
subst
"s|%setup -q|%setup|g"
$i
subst
"s|^%clean
$|
|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