File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 22# XXX a specfile from this info, but not yet: for now keep in sync
33PACKAGE =lsb-appchk-python
44VERSION =4.0.0
5- RELEASE =3
5+ RELEASE =4
66# default version we will test against - change as needed
77LSB_VERSION =4.0
88
Original file line number Diff line number Diff line change 6464install -d ${RPM_BUILD_ROOT}%{basedir }/man/man1
6565cp doc/lsbappchk.py.1 ${RPM_BUILD_ROOT}%{basedir }/man/man1
6666
67+ # bug 2509 - unpackaged .pyc/.pyo files on some build platforms
68+ find ${RPM_BUILD_ROOT}%{basedir } -name '*.pyc' | xargs rm -f
69+ find ${RPM_BUILD_ROOT}%{basedir } -name '*.pyo' | xargs rm -f
70+
6771#==================================================
6872%clean
6973if [ ! -z " ${RPM_BUILD_ROOT} " -a " ${RPM_BUILD_ROOT} " != " /" ]; then
Original file line number Diff line number Diff line change 33# Should unpackaged files in a build root terminate a build?
44#
55# 0 for legacy compatibility.
6- %_unpackaged_files_terminate_build 0
6+ %_unpackaged_files_terminate_build 1
77
88# Should missing %doc files in the build directory terminate a build?
99#
You can’t perform that action at this time.
0 commit comments