ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/py2-sqlalchemy.spec
Revision: 1.25
Committed: Mon May 23 15:59:45 2011 UTC (13 years, 11 months ago) by lat
Branch: MAIN
CVS Tags: TW20110627a, TW20110623b, TW20110623a, HG1106e, builder_2011-06-17_14-52-14_cmsweb, builder_2011-06-16_19-08-24_wmagent, builder_2011-06-16_16-09-02_wmagent, builder_2011-06-15_16-54-18_wmagent, builder_2011-06-10_23-58-54_cmsweb, HG1106d, builder_2011-06-07_22-07-15_reqmgr, builder_2011-05-31_01-23-03_cmsweb, builder_2011-05-31_00-51-28_cmsweb, HG1106c, TW20110530a, TW20110527b, TW20110527a, TW20110525a, TW20110524b, TW20110524a, builder_2011-05-24_10-10-21_cmsweb, HG1106b
Changes since 1.24: +0 -1 lines
Log Message:
Remove post-install changes to .py files as it prevents python from using
byte compile .pyc files. Update only strictly minimal set of files, which
are normally scripts in 'bin' directory - and which don't have .pyc files.

File Contents

# User Rev Content
1 valya 1.22 ### RPM external py2-sqlalchemy 0.5.2
2 eulisse 1.9 ## INITENV +PATH PYTHONPATH %i/lib/python`echo $PYTHON_VERSION | cut -f1,2 -d.`/site-packages
3 eulisse 1.1
4 eulisse 1.9 Source: http://superb-east.dl.sourceforge.net/sourceforge/sqlalchemy/SQLAlchemy-%realversion.tar.gz
5 diego 1.23 Requires: python
6 valya 1.19 # Apply patch to make ORACLE works correctly while specifying owner, see
7     # http://groups.google.com/group/sqlalchemy/browse_thread/thread/902d39df9bc8cf21
8 valya 1.21 #Patch: py2-sqlalchemy_patch_0.4.4_0.4.5
9 diego 1.24
10 eulisse 1.1 %prep
11 eulisse 1.9 %setup -n SQLAlchemy-%realversion
12 diego 1.24
13 eulisse 1.1 %build
14     python setup.py build
15 valya 1.11
16 diego 1.24 %install
17     python setup.py install --prefix=%i
18     find %i -name '*.egg-info' -exec rm {} \;