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