diff --git a/kiwisolver-1.1.0.tar.gz b/kiwisolver-1.1.0.tar.gz index 16a98b2..2a35dde 100644 Binary files a/kiwisolver-1.1.0.tar.gz and b/kiwisolver-1.1.0.tar.gz differ diff --git a/python-kiwisolver.spec b/python-kiwisolver.spec index 7ee752e..6e9814e 100644 --- a/python-kiwisolver.spec +++ b/python-kiwisolver.spec @@ -1,12 +1,10 @@ -%global _name kiwisolver - -Name: python-%{_name} +Name: python-kiwisolver Version: 1.1.0 -Release: 1 +Release: 2 Summary: A fast implementation of the Cassowary constraint solver License: BSD URL: https://github.com/nucleic/kiwi -Source0: https://github.com/nucleic/kiwi/archive/%{version}/%{_name}-%{version}.tar.gz +Source0: https://github.com/nucleic/kiwi/archive/%{version}/kiwisolver-%{version}.tar.gz BuildRequires: gcc-c++ %description @@ -15,42 +13,36 @@ Kiwi is an implementation of the algorithm based on the seminal Cassowary paper. not a refactoring of the original C++ solver. Kiwi has been designed from the ground up to be lightweight and fast. - -%package -n python3-%{_name} +%package -n python3-kiwisolver Summary: Kiwisolver for Python 3 Package -%{?python_provide:%python_provide python3-%{_name}} +%{?python_provide:%python_provide python3-kiwisolver} BuildRequires: python3-devel python3-setuptools python3-pytest -%description -n python3-%{_name} +%description -n python3-kiwisolver Kiwisolver for Python 3 Package. - %prep -%autosetup -n %{_name}-%{version} - -rm -rf %{_name}.egg-info - +%autosetup -n kiwi-%{version} +rm -rf kiwisolver.egg-info %build %py3_build - %install %py3_install - %check PYTHONPATH="%{buildroot}%{python3_sitearch}" py.test-3 py/tests/ - -%files -n python3-%{_name} -%doc README.rst -%license LICENSE -%{python3_sitearch}/%{_name}.cpython-*.so -%{python3_sitearch}/%{_name}-%{version}-*.egg-info - +%files -n python3-kiwisolver +%doc README.rst LICENSE +%{python3_sitearch}/kiwisolver.cpython-*.so +%{python3_sitearch}/kiwisolver-%{version}-*.egg-info %changelog +* Mon Mar 9 2020 Ling Yang - 1.1.0-2 +- Fixed format for spec file + * Tue Nov 05 2019 openEuler Buildteam - 1.1.0-1 - Type:NA - ID:NA