diff --git python-mecab/python-mecab.spec python-mecab/python-mecab.spec.tmp index 216a518857..be01f615a3 100644 --- python-mecab/python-mecab.spec +++ python-mecab/python-mecab.spec.tmp @@ -7,7 +7,7 @@ Name: python-mecab Version: %{mainver} -Release: %{?betaver:0.}%{relnumber}%{?betaver:.%betaver}%{?dist}.10 +Release: %{?betaver:0.}%{relnumber}%{?betaver:.%betaver}%{?dist}.11 Summary: Python binding for MeCab Group: Applications/Text @@ -22,10 +22,17 @@ BuildRequires: python-devel # %%check BuildRequires: mecab-jumandic +%global _description\ +%{summary}. + +%description %_description + +%package -n python2-mecab +Summary: %summary Requires: mecab = %{version} +%{?python_provide:%python_provide python2-mecab} -%description -%{summary}. +%description -n python2-mecab %_description %prep %setup -q -n %{srcname}-%{version}%{?betaver} @@ -42,7 +49,7 @@ export CXXFLAGS=$RPM_OPT_FLAGS PYTHONPATH=$RPM_BUILD_ROOT%{python_sitearch} %{__python} test.py cd .. -%files +%files -n python2-mecab %defattr(-,root,root,-) %doc bindings.html %doc AUTHORS COPYING BSD GPL LGPL @@ -53,6 +60,10 @@ cd .. %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.996-1.11 +- Python 2 binary package renamed to python2-mecab + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.996-1.10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild