SPECS: python-pyblock.spec - optflags patch (not applied as -O2 br...
glen
glen at pld-linux.org
Sat May 20 03:18:16 CEST 2006
Author: glen Date: Sat May 20 01:18:16 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- optflags patch (not applied as -O2 breaks build, anyone can check?)
---- Files affected:
SPECS:
python-pyblock.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/python-pyblock.spec
diff -u SPECS/python-pyblock.spec:1.4 SPECS/python-pyblock.spec:1.5
--- SPECS/python-pyblock.spec:1.4 Sat May 20 03:07:15 2006
+++ SPECS/python-pyblock.spec Sat May 20 03:18:11 2006
@@ -1,15 +1,19 @@
# $Revision$, $Date$
+# TODO
+# - -O2 breaks build
+# - compile .py[co] and *package* them
%define realname pyblock
Summary: Python modules for dealing with block devices
Summary(pl): Moduły Pythona do obsługi urządzeń blokowych
Name: python-%{realname}
Version: 0.15
-Release: 1.1
+Release: 1.2
License: GPL
Group: Libraries/Python
Source0: %{realname}-%{version}.tar.bz2
# Source0-md5: a201b09eb86a748b0d41bd5671e7ae8f
Patch0: python-pyblock-ULLLLLL.patch
+Patch1: python-pyblock-optflags.patch
BuildRequires: device-mapper >= 1.02.05-0.3
BuildRequires: dmraid-static
BuildRequires: libselinux-devel
@@ -29,9 +33,13 @@
%prep
%setup -q -n %{realname}-%{version}
%patch0 -p1
+# passing -O2 will break build. blah
+#%patch1 -p1
%build
-%{__make}
+%{__make} -j1 \
+ CC="%{__cc}" \
+ OPTFLAGS="%{rpmcflags}"
%install
rm -rf $RPM_BUILD_ROOT
@@ -53,6 +61,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2006/05/20 01:18:11 glen
+- optflags patch (not applied as -O2 breaks build, anyone can check?)
+
Revision 1.4 2006/05/20 01:07:15 glen
- fixed badness with py_sitescriptdir
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/python-pyblock.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list