- just some cleanups to older styles of building packages.
This commit is contained in:
parent
72c1d73465
commit
646526a8e0
@ -1 +1 @@
|
|||||||
SQLAlchemy-0.5.5.tar.gz
|
SQLAlchemy-0.5.8.tar.gz
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
|
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
|
||||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
%{!?pyver: %global pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
|
%endif
|
||||||
|
|
||||||
%global srcname SQLAlchemy
|
%global srcname SQLAlchemy
|
||||||
|
|
||||||
Name: python-sqlalchemy
|
Name: python-sqlalchemy
|
||||||
Version: 0.5.5
|
Version: 0.5.8
|
||||||
Release: 2%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Modular and flexible ORM library for python
|
Summary: Modular and flexible ORM library for python
|
||||||
|
|
||||||
@ -38,7 +39,7 @@ sed -i 's/\r//' examples/dynamic_dict/dynamic_dict.py
|
|||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
mkdir -p $RPM_BUILD_ROOT%{python_sitelib}
|
mkdir -p $RPM_BUILD_ROOT%{python_sitelib}
|
||||||
python setup.py install --skip-build --root $RPM_BUILD_ROOT
|
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
||||||
|
|
||||||
# remove unnecessary scripts for building documentation
|
# remove unnecessary scripts for building documentation
|
||||||
rm -rf doc/build
|
rm -rf doc/build
|
||||||
@ -48,7 +49,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
export PYTHONPATH=.
|
export PYTHONPATH=.
|
||||||
python setup.py develop -d .
|
%{__python} setup.py develop -d .
|
||||||
nosetests
|
nosetests
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -57,6 +58,12 @@ nosetests
|
|||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 2 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.5.8-2
|
||||||
|
- just some cleanups to older styles of building packages.
|
||||||
|
|
||||||
|
* Mon Feb 1 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.5.8-1
|
||||||
|
- Upstream bugfix release 0.5.8
|
||||||
|
|
||||||
* Fri Aug 14 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 0.5.5-2
|
* Fri Aug 14 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 0.5.5-2
|
||||||
- Upstream bugfix release 0.5.5
|
- Upstream bugfix release 0.5.5
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user