Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3)

Delta Between Two Patch Sets: Misc/RPM/python-3.3.spec

Issue 15550: Trailing white spaces
Left Patch Set: Created 7 years, 7 months ago
Right Patch Set: Created 7 years, 7 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « Misc/python.pc.in ('k') | Misc/Vim/python.vim » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 ########################## 1 ##########################
2 # User-modifiable configs 2 # User-modifiable configs
3 ########################## 3 ##########################
4 4
5 # Is the resulting package and the installed binary named "python" or 5 # Is the resulting package and the installed binary named "python" or
6 # "python2"? 6 # "python2"?
7 #WARNING: Commenting out doesn't work. Last line is what's used. 7 #WARNING: Commenting out doesn't work. Last line is what's used.
8 %define config_binsuffix none 8 %define config_binsuffix none
9 %define config_binsuffix 2.6 9 %define config_binsuffix 2.6
10 10
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 pydoc.old >pydoc 262 pydoc.old >pydoc
263 chmod 755 pydoc 263 chmod 755 pydoc
264 rm -f pydoc.old 264 rm -f pydoc.old
265 ) 265 )
266 fi 266 fi
267 267
268 # add the binsuffix 268 # add the binsuffix
269 if [ ! -z "%{binsuffix}" ] 269 if [ ! -z "%{binsuffix}" ]
270 then 270 then
271 rm -f $RPM_BUILD_ROOT%{__prefix}/bin/python[0-9a-zA-Z]* 271 rm -f $RPM_BUILD_ROOT%{__prefix}/bin/python[0-9a-zA-Z]*
272 ( cd $RPM_BUILD_ROOT%{__prefix}/bin; 272 ( cd $RPM_BUILD_ROOT%{__prefix}/bin;
273 for file in *; do mv "$file" "$file"%{binsuffix}; done ) 273 for file in *; do mv "$file" "$file"%{binsuffix}; done )
274 ( cd $RPM_BUILD_ROOT%{_mandir}/man1; mv python.1 python%{binsuffix}.1 ) 274 ( cd $RPM_BUILD_ROOT%{_mandir}/man1; mv python.1 python%{binsuffix}.1 )
275 fi 275 fi
276 276
277 ######## 277 ########
278 # Tools 278 # Tools
279 echo '#!%{__prefix}/bin/env python%{binsuffix}' >${RPM_BUILD_ROOT}%{__prefix}/bi n/idle%{binsuffix} 279 echo '#!%{__prefix}/bin/env python%{binsuffix}' >${RPM_BUILD_ROOT}%{__prefix}/bi n/idle%{binsuffix}
280 echo 'import os, sys' >>${RPM_BUILD_ROOT}%{__prefix}/bin/idle%{binsuffix} 280 echo 'import os, sys' >>${RPM_BUILD_ROOT}%{__prefix}/bin/idle%{binsuffix}
281 echo 'os.execvp("%{__prefix}/bin/python%{binsuffix}", ["%{__prefix}/bin/python%{ binsuffix}", "%{__prefix}/lib/python%{libvers}/idlelib/idle.py"] + sys.argv[1:]) ' >>${RPM_BUILD_ROOT}%{__prefix}/bin/idle%{binsuffix} 281 echo 'os.execvp("%{__prefix}/bin/python%{binsuffix}", ["%{__prefix}/bin/python%{ binsuffix}", "%{__prefix}/lib/python%{libvers}/idlelib/idle.py"] + sys.argv[1:]) ' >>${RPM_BUILD_ROOT}%{__prefix}/bin/idle%{binsuffix}
282 echo 'print "Failed to exec Idle"' >>${RPM_BUILD_ROOT}%{__prefix}/bin/idle%{bins uffix} 282 echo 'print "Failed to exec Idle"' >>${RPM_BUILD_ROOT}%{__prefix}/bin/idle%{bins uffix}
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 %defattr(-,root,root) 381 %defattr(-,root,root)
382 %{__prefix}/%{libdirname}/python%{libvers}/tkinter 382 %{__prefix}/%{libdirname}/python%{libvers}/tkinter
383 %{__prefix}/%{libdirname}/python%{libvers}/lib-dynload/_tkinter.so* 383 %{__prefix}/%{libdirname}/python%{libvers}/lib-dynload/_tkinter.so*
384 %endif 384 %endif
385 385
386 %if %{include_docs} 386 %if %{include_docs}
387 %files docs 387 %files docs
388 %defattr(-,root,root) 388 %defattr(-,root,root)
389 %{config_htmldir}/* 389 %{config_htmldir}/*
390 %endif 390 %endif
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+