1
0

- Package LICENSE and README.rst

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-construct?expand=0&rev=2
This commit is contained in:
Sascha Peilicke 2013-04-30 11:30:29 +00:00 committed by Git OBS Bridge
parent 151bb38b2c
commit ed83aea323
2 changed files with 7 additions and 2 deletions

View File

@ -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 Mon Apr 29 15:27:04 UTC 2013 - matwey.kornilov@gmail.com

View File

@ -29,7 +29,6 @@ Requires: python-six
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110 %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_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 %else
BuildArch: noarch BuildArch: noarch
%endif %endif
@ -46,13 +45,14 @@ and in the other direction, convert ("build") objects into binary data.
%setup -q -n construct-%{version} %setup -q -n construct-%{version}
%build %build
CFLAGS="%{optflags}" python setup.py build python setup.py build
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc LICENSE README.rst
%{python_sitelib}/* %{python_sitelib}/*
%changelog %changelog