14
0

Accepting request 174784 from home:matwey:branches:devel:languages:python

- Add split_debug.patch: reason why do we want to do so is to use
  python-construct in embedded applications like rpmlint-mini

OBS-URL: https://build.opensuse.org/request/show/174784
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-construct?expand=0&rev=3
This commit is contained in:
2013-05-08 07:42:14 +00:00
committed by Git OBS Bridge
parent ed83aea323
commit d9aeca6d4e
3 changed files with 49 additions and 1 deletions

View File

@@ -23,6 +23,8 @@ Summary: A powerful declarative parser/builder for binary data
Url: http://construct.readthedocs.org
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/c/construct/construct-%{version}.tar.gz
# PATCH-FEATURE-OPENSUSE split_debug.patch matwey.kornilov@gmail.com -- make debug.py non-loadable
Patch0: split_debug.patch
BuildRequires: python-devel
BuildRequires: python-six
Requires: python-six
@@ -43,6 +45,7 @@ and in the other direction, convert ("build") objects into binary data.
%prep
%setup -q -n construct-%{version}
%patch0 -p1
%build
python setup.py build
@@ -55,4 +58,3 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%doc LICENSE README.rst
%{python_sitelib}/*
%changelog