rpms/python-lzo/devel python-lzo-1.08-build-against-lzo2.patch, NONE, 1.1 python-lzo.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Huzaifa Sidhpurwala (huzaifas) fedora-extras-commits at redhat.com
Mon Apr 7 05:36:53 UTC 2008


Author: huzaifas

Update of /cvs/pkgs/rpms/python-lzo/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25797/devel

Modified Files:
	.cvsignore sources 
Added Files:
	python-lzo-1.08-build-against-lzo2.patch python-lzo.spec 
Log Message:


python-lzo-1.08-build-against-lzo2.patch:

--- NEW FILE python-lzo-1.08-build-against-lzo2.patch ---
--- python-lzo-1.08/setup.py.orig	2007-12-18 03:54:24.000000000 +0100
+++ python-lzo-1.08/setup.py	2007-12-18 03:54:44.000000000 +0100
@@ -24,8 +24,8 @@ if sys.platform == "win32":
     include_dirs.append(os.path.join(CURL_DIR, "include"))
     extra_objects.append(os.path.join(CURL_DIR, "lzo.lib"))
 else:
-    libraries = ["lzo"]
-    ##include_dirs.append("/usr/local/include")
+    libraries = ["lzo2"]
+    include_dirs.append("/usr/include/lzo")
     ##library_dirs.append("/usr/local/lib")
     ##runtime_library_dirs.append("/usr/local/lib")
 


--- NEW FILE python-lzo.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Summary:	LZO bindings for Python
Name:		python-lzo
Version:	1.08
Release:	2%{?dist}
Source0:	http://www.oberhumer.com/opensource/lzo/download/LZO-v1/%{name}-%{version}.tar.gz
URL:		http://www.oberhumer.com/opensource/lzo/
Patch0:		python-lzo-1.08-build-against-lzo2.patch
License:	GPLv2+
Group:		Development/Languages
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:	python-setuptools
BuildRequires:	python-devel
BuildRequires:  lzo-devel

%description
Python-LZO provides Python bindings for the LZO data compression library.

%prep
%setup -q
%patch0 -p1 -b .lzo2


%build
%if 0%{?fedora} > 8
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
%else
CFLAGS="$RPM_OPT_FLAGS" %{__python} -c 'import setuptools; execfile("setup.py")' build
%endif


%install
rm -rf $RPM_BUILD_ROOT
%if 0%{?fedora} > 8
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
%else
%{__python} -c 'import setuptools; execfile("setup.py")' install -O1 --skip-build --root %{buildroot}
%endif


%clean
rm -rf $RPM_BUILD_ROOT

%files
%doc COPYING NEWS README
%defattr(-,root,root,-)
%{python_sitelib}/*

%changelog
* Fri Apr 4 2008 Huzaifa Sidhpurwala <huzaifas at fedoraproject.org> - 1.08-2
- Made changes so that it builds on f9 
- A couple of other changes to spec file to make it more complaint with pkg standards

* Thu Apr 3 2008 Huzaifa Sidhpurwala <huzaifas at fedoraproject.org> - 1.08-1
- Initial rebuild from Mandriva (Per Øyvind Karlsen <pkarlsen at mandriva.com>)


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-lzo/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	4 Apr 2008 16:12:57 -0000	1.1
+++ .cvsignore	7 Apr 2008 05:36:13 -0000	1.2
@@ -0,0 +1 @@
+python-lzo-1.08.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-lzo/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	4 Apr 2008 16:12:57 -0000	1.1
+++ sources	7 Apr 2008 05:36:13 -0000	1.2
@@ -0,0 +1 @@
+40da67916ffebdfaccb314198166bb42  python-lzo-1.08.tar.gz




More information about the fedora-extras-commits mailing list