diff options
| author | Michel Alexandre Salim <msalim@cs.indiana.edu> | 2009-10-10 18:28:32 -0400 |
|---|---|---|
| committer | Michel Alexandre Salim <msalim@cs.indiana.edu> | 2009-10-10 18:28:32 -0400 |
| commit | 50a8bf2c216551880834243cc0ad611271ec0a5d (patch) | |
| tree | dde2b84c5e056e863f677705464c06321bd11afd /python/python-blist.spec | |
| parent | edcd338bb2984168ad7b9dcf57deb70fa00fc169 (diff) | |
| download | specs-50a8bf2c216551880834243cc0ad611271ec0a5d.tar.gz specs-50a8bf2c216551880834243cc0ad611271ec0a5d.tar.xz specs-50a8bf2c216551880834243cc0ad611271ec0a5d.zip | |
Update to fix compile warnings
Diffstat (limited to 'python/python-blist.spec')
| -rw-r--r-- | python/python-blist.spec | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/python/python-blist.spec b/python/python-blist.spec index 0679ff0..01ebe81 100644 --- a/python/python-blist.spec +++ b/python/python-blist.spec @@ -9,6 +9,7 @@ Group: Development/Languages License: BSD URL: http://pypi.python.org/pypi/blist/ Source0: http://pypi.python.org/packages/source/b/blist/blist-%{version}.tar.gz +Patch0: blist-1.0.1-use-upstream-macros.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) #BuildArch: @@ -25,15 +26,12 @@ inefficient if you need to create a larger number of small lists. %prep %setup -q -n blist-%{version} +%patch0 -p1 -b .use-upstream-macros chmod -x LICENSE *.[ch] *.rst *.txt %build -CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build - - -%check -%{__python} setup.py test +CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %{__python} setup.py build %install @@ -41,6 +39,10 @@ rm -rf $RPM_BUILD_ROOT %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT +%check +%{__python} setup.py test + + %clean rm -rf $RPM_BUILD_ROOT |
