- Rename python3 package to match up naming conventions

- Install license file

OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libixion?expand=0&rev=27
This commit is contained in:
Tomáš Chvátal 2018-02-15 08:19:43 +00:00 committed by Git OBS Bridge
parent 36c4979b14
commit d29424a28b
2 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Feb 15 08:19:15 UTC 2018 - tchvatal@suse.com
- Rename python3 package to match up naming conventions
- Install license file
-------------------------------------------------------------------
Wed Nov 29 12:44:50 UTC 2017 - tchvatal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libixion
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -68,12 +68,14 @@ Requires: %{libname} = %{version}
%description tools
Tools to use ixion parser and interpreter from cli.
%package python3
%package -n python3-%{name}
Summary: Python bindings for libixion
Group: Productivity/Publishing/Word
Obsoletes: %{name}-python
# Renamed in 15.0
Provides: %{name}-python3 = %{version}
%description python3
%description -n python3-%{name}
Python 3 bindings for %{name}.
%prep
@ -97,6 +99,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
%postun -n %{libname} -p /sbin/ldconfig
%files -n %{libname}
%license LICENSE
%{_libdir}/*.so.*
%files devel
@ -107,7 +110,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
%files tools
%{_bindir}/*
%files python3
%files -n python3-%{name}
%{python3_sitearch}/ixion.so
%changelog