From ed83aea323693856fd2648c99ce092eaf382ba194dc917b0c9aef3529c491427 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 30 Apr 2013 11:30:29 +0000 Subject: [PATCH] - Package LICENSE and README.rst OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-construct?expand=0&rev=2 --- python-construct.changes | 5 +++++ python-construct.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-construct.changes b/python-construct.changes index 1c0e90a..740ba0b 100644 --- a/python-construct.changes +++ b/python-construct.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 30 11:30:15 UTC 2013 - speilicke@suse.com + +- Package LICENSE and README.rst + ------------------------------------------------------------------- Mon Apr 29 15:27:04 UTC 2013 - matwey.kornilov@gmail.com diff --git a/python-construct.spec b/python-construct.spec index 0df057a..9efad22 100644 --- a/python-construct.spec +++ b/python-construct.spec @@ -29,7 +29,6 @@ Requires: python-six BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %else BuildArch: noarch %endif @@ -46,13 +45,14 @@ and in the other direction, convert ("build") objects into binary data. %setup -q -n construct-%{version} %build -CFLAGS="%{optflags}" python setup.py build +python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root,-) +%doc LICENSE README.rst %{python_sitelib}/* %changelog