~n3npq/lsb/tet-harness

« back to all changes in this revision

Viewing changes to package/lsb-tet3-lite.spec.sed

  • Committer: Stew Benedict
  • Date: 2009-10-07 18:45:14 UTC
  • Revision ID: stewb@linux-foundation.org-20091007184514-0u0ikaui7a0pexc7
need to build pytet with lsb-python to remain compatible with tests (bug 2766)
add appropriate buildrequires to spec file

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
Group: Development/Tools
27
27
Buildroot: %{_builddir}/%{name}-root
28
28
AutoReqProv: no
29
 
 
 
29
BuildRequires: lsb-python lsb-build-cc lsb-build-c++
30
30
 
31
31
# comment this out, since it often means that the
32
32
# package cannot be installed , the value 3.1 is for LSB 3.1
83
83
unset PYTHONPATH
84
84
 
85
85
# use python itself to compute location of lib, header
86
 
python 2>&1 > .PYTHONINFO <<END
 
86
/opt/lsb/appbat/bin/python 2>&1 > .PYTHONINFO <<END
87
87
import sys
88
88
print "PYTHONLIB="+sys.path[2]
89
89
print "PYTHONINCLUDE="+sys.prefix+'/include/'+sys.path[2].split('/')[-1]
246
246
%post
247
247
 
248
248
%changelog
 
249
* Wed Oct 07 2009 Stew Benedict <stewb@linux-foundation.org>
 
250
- need to build pytet with lsb-python to remain compatible with tests
 
251
 
249
252
* Mon Feb 18 2008 Stew Benedict <stewb@linux-foundation.org>
250
253
- move the %%post message to README.%{name} (bug 1940)
251
254