##// END OF EJS Templates
packaging: enable rust extensions on centos...
Mathias De Mare -
r46547:eccbfa7e default
parent child Browse files
Show More
@@ -15,3 +15,6 b' RUN yum install -y \\'
15 15
16 16 # For creating repo meta data
17 17 RUN yum install -y createrepo
18
19 # For rust extensions
20 RUN yum install -y cargo
@@ -13,3 +13,6 b' RUN yum install -y \\'
13 13
14 14 # For creating repo meta data
15 15 RUN yum install -y createrepo
16
17 # For rust extensions
18 RUN yum install -y cargo
@@ -110,14 +110,14 b' cd %{docutilsname}'
110 110 LD_LIBRARY_PATH=$PYPATH $PYPATH/python setup.py install --root="$RPM_BUILD_ROOT"
111 111 cd -
112 112
113 PATH=$PYPATH:$PATH LD_LIBRARY_PATH=$PYPATH make install PYTHON=%{pythonexe} DESTDIR=$RPM_BUILD_ROOT PREFIX=%{hgpyprefix} MANDIR=%{_mandir}
113 PATH=$PYPATH:$PATH LD_LIBRARY_PATH=$PYPATH make install PYTHON=%{pythonexe} DESTDIR=$RPM_BUILD_ROOT PREFIX=%{hgpyprefix} MANDIR=%{_mandir} PURE="--rust"
114 114 mkdir -p $RPM_BUILD_ROOT%{_bindir}
115 115 ( cd $RPM_BUILD_ROOT%{_bindir}/ && ln -s ../..%{hgpyprefix}/bin/hg . )
116 116 ( cd $RPM_BUILD_ROOT%{_bindir}/ && ln -s ../..%{hgpyprefix}/bin/python2.? %{pythonhg} )
117 117
118 118 %else
119 119
120 make install PYTHON=%{pythonexe} DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} MANDIR=%{_mandir}
120 make install PYTHON=%{pythonexe} DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} MANDIR=%{_mandir} PURE="--rust"
121 121
122 122 %endif
123 123
General Comments 0
You need to be logged in to leave comments. Login now