[packages/gobject-introspection] update pkgpyexecdir dir instead of moving
glen
glen at pld-linux.org
Wed Feb 6 23:01:52 CET 2013
commit 74d1aab2dee07b0be2bf66a377be0e00fb0c71d8
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Feb 7 00:00:40 2013 +0200
update pkgpyexecdir dir instead of moving
this way traces look correct
gobject-introspection.spec | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/gobject-introspection.spec b/gobject-introspection.spec
index a280b99..ad215ea 100644
--- a/gobject-introspection.spec
+++ b/gobject-introspection.spec
@@ -102,17 +102,15 @@ Dokumentacja API gobject-introspection.
%{__enable_disable apidocs gtk-doc} \
%{__enable_disable static_libs static} \
--with-html-dir=%{_gtkdocdir}
-%{__make}
+%{__make} \
+ pkgpyexecdir=%{py_sitedir}/giscanner
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{py_sitedir}
-
%{__make} install \
+ pkgpyexecdir=%{py_sitedir}/giscanner \
DESTDIR=$RPM_BUILD_ROOT
-mv $RPM_BUILD_ROOT%{_libdir}/gobject-introspection/giscanner $RPM_BUILD_ROOT%{py_sitedir}
-
%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/giscanner/*.{a,la} \
$RPM_BUILD_ROOT%{_libdir}/*.la
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gobject-introspection.git/commitdiff/74d1aab2dee07b0be2bf66a377be0e00fb0c71d8
More information about the pld-cvs-commit
mailing list