projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cbfdcf
)
change specfile to allow building without python bindings again
author
Michael Schroeder
<mls@suse.de>
Tue, 23 Apr 2013 15:36:14 +0000
(17:36 +0200)
committer
Michael Schroeder
<mls@suse.de>
Tue, 23 Apr 2013 15:36:14 +0000
(17:36 +0200)
package/libsolv.spec.in
patch
|
blob
|
history
diff --git
a/package/libsolv.spec.in
b/package/libsolv.spec.in
index babdb323cf687715c8b406ec67e68ce7f2b33e1c..e96d1537e5e6c1dfb1a0f8e905f4918800d8ec08 100644
(file)
--- a/
package/libsolv.spec.in
+++ b/
package/libsolv.spec.in
@@
-135,7
+135,7
@@
Group: Development/Languages/Ruby
Ruby bindings for sat solver.
%package -n python-solv
-%if 0%{?py_requires:1}
+%if 0%{?py_requires:1}
&& %{with python_binding}
%py_requires
%endif
Summary: Python bindings for the libsolv library
@@
-192,8
+192,10
@@
python -O %py_libdir/py_compile.py *.py
popd
%endif
%endif
+%if %{with disable_shared}
# we want to leave the .a file untouched
export NO_BRP_STRIP_DEBUG=true
+%endif
%clean
rm -rf "$RPM_BUILD_ROOT"