Hello community, here is the log from the commit of package python-roman for openSUSE:Factory checked in at 2012-06-26 20:03:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-roman (Old) and /work/SRC/openSUSE:Factory/.python-roman.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-roman", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/python-roman/python-roman.changes 2012-06-12 07:10:07.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-roman.new/python-roman.changes 2012-06-26 20:03:35.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Jun 26 12:54:58 UTC 2012 - [email protected] + +- Fix building on SLE 11 +- Spec file cleanup + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-roman.spec ++++++ --- /var/tmp/diff_new_pack.f1Urwu/_old 2012-06-26 20:03:37.000000000 +0200 +++ /var/tmp/diff_new_pack.f1Urwu/_new 2012-06-26 20:03:37.000000000 +0200 @@ -15,38 +15,43 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - -Name: python-roman +%define modname roman +Name: python-%{modname} Version: 1.4.0 Release: 0 Summary: Integer to Roman numerals converter License: Python-2.0 Group: Development/Libraries/Python Url: http://pypi.python.org/pypi/roman -Source0: http://pypi.python.org/packages/source/r/roman/roman-%{version}.tar.gz - -BuildArch: noarch +Source0: http://pypi.python.org/packages/source/r/%{modname}/%{modname}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-setuptools +%if 0%{?suse_version} <= 1110 +%{!?python_sitelib: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%else +BuildArch: noarch +%endif %description This module converts from and to Roman numerals. It can convert numbers from 1 to 4999 and understands the common shortcuts (IX == 9), but not illegal ones (MIM == 1999). - %prep -%setup -n roman-%{version} +%setup -n %{modname}-%{version} %build python setup.py build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES +python setup.py install --prefix=%{_prefix} --root=%{buildroot} %clean rm -rf %{buildroot} -%files -f INSTALLED_FILES +%files %defattr(-,root,root) +%{python_sitelib}/%{modname}.py* +%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
