python/python.spec

changeset 786
d42403a4ec05
parent 784
8a194ef19c9c
equal deleted inserted replaced
4:e561a2b91b70 5:958240cafa90
186 %install 186 %install
187 %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT 187 %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
188 ( cd $RPM_BUILD_ROOT%{l_prefix}/lib/python/config* 188 ( cd $RPM_BUILD_ROOT%{l_prefix}/lib/python/config*
189 ln libpython*.a libpython.a 189 ln libpython*.a libpython.a
190 ) || exit $? 190 ) || exit $?
191 mv \
192 $RPM_BUILD_ROOT%{l_prefix}/include/python3.3m \
193 $RPM_BUILD_ROOT%{l_prefix}/include/pythonm
191 rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/smtpd.py 194 rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/smtpd.py
192 rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/idle 195 rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/idle
193 rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/python/test 196 rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/python/test
194 strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true 197 strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
195 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} 198 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}

mercurial