Rename liblouis-python3 to python3-louis
As per latest Fedora packaging guidelines, Python 3 modules must all have python3- prefix, followed by the module name. https://fedoraproject.org/wiki/Packaging:Python
This commit is contained in:
parent
deb0d96fe7
commit
0d2f9b8731
@ -6,7 +6,7 @@
|
||||
|
||||
Name: liblouis
|
||||
Version: 2.6.2
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Braille translation and back-translation library
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -61,7 +61,7 @@ developing applications that use %{name}.
|
||||
Summary: Command-line utilities to test %{name}
|
||||
Group: Applications/Text
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-python = %{version}-%{release}
|
||||
Requires: python-louis = %{version}-%{release}
|
||||
License: GPLv3+
|
||||
|
||||
%description utils
|
||||
@ -69,24 +69,28 @@ Six test programs are provided as part of the liblouis package. They
|
||||
are intended for testing liblouis and for debugging tables. None of
|
||||
them is suitable for braille transcription.
|
||||
|
||||
%package python
|
||||
%package -n python-louis
|
||||
Summary: Python 2 language bindings for %{name}
|
||||
Group: Development/Languages
|
||||
BuildArch: noarch
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Obsoletes: %{name}-python < 2.6.2-3
|
||||
Provides: %{name}-python = %{version}-%{release}
|
||||
|
||||
%description python
|
||||
%description -n python-louis
|
||||
This package provides Python 2 language bindings for %{name}.
|
||||
|
||||
|
||||
%if !( 0%{?rhel} > 0 && 0%{?rhel} <= 7)
|
||||
%package python3
|
||||
%package -n python3-louis
|
||||
Summary: Python 3 language bindings for %{name}
|
||||
Group: Development/Languages
|
||||
BuildArch: noarch
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Obsoletes: %{name}-python3 < 2.6.2-3
|
||||
Provides: %{name}-python3 = %{version}-%{release}
|
||||
|
||||
%description python3
|
||||
%description -n python3-louis
|
||||
This package provides Python 3 language bindings for %{name}.
|
||||
%endif
|
||||
|
||||
@ -179,13 +183,13 @@ fi
|
||||
%{_bindir}/lou_*
|
||||
%{_mandir}/man1/lou_*.1*
|
||||
|
||||
%files python
|
||||
%files -n python-louis
|
||||
%defattr(-,root,root,-)
|
||||
%doc python/README
|
||||
%{python_sitelib}/louis/
|
||||
|
||||
%if !( 0%{?rhel} > 0 && 0%{?rhel} <= 7)
|
||||
%files python3
|
||||
%files -n python3-louis
|
||||
%defattr(-,root,root,-)
|
||||
%{python3_sitelib}/louis/
|
||||
%endif
|
||||
@ -195,6 +199,9 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Aug 23 2015 Kalev Lember <klember@redhat.com> - 2.6.2-3
|
||||
- Rename liblouis-python3 to python3-louis, as per latest packaging guidelines
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user