diff --git ledger/ledger.spec ledger/ledger.spec.tmp index 06f1a0df41..817fd710f4 100644 --- ledger/ledger.spec +++ ledger/ledger.spec.tmp @@ -2,7 +2,7 @@ Name: ledger Version: 3.1.1 -Release: 9%{?dist} +Release: 10%{?dist} Summary: A powerful command-line double-entry accounting system License: BSD URL: http://ledger-cli.org/ @@ -42,10 +42,13 @@ from the UNIX command-line. This may put off some users — as there is no flashy UI — but for those who want unparalleled reporting access to their data, there really is no alternative. -%package python +%package -n python2-ledger +%{?python_provide:%python_provide python2-ledger} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} Summary: Python bindings for %{name} Requires: %{name} = %{version}-%{release} -%description python +%description -n python2-ledger Python bindings for ledger. %package devel @@ -186,7 +189,7 @@ fi %dir %{_emacs_sitelispdir}/ledger-mode %{_emacs_sitelispdir}/ledger-mode/*.el -%files python +%files -n python2-ledger %{python2_sitearch}/ledger.so %files devel @@ -195,6 +198,10 @@ fi %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 3.1.1-10 +- Python 2 binary package renamed to python2-ledger + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 3.1.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild