Accepting request 792462 from home:scarabeus_iv:branches:graphics
- Remove sk1 depending extension as sk1 is py2 only * Keep conditioned so it will stay on Leap 15 if backported OBS-URL: https://build.opensuse.org/request/show/792462 OBS-URL: https://build.opensuse.org/package/show/graphics/inkscape?expand=0&rev=58
This commit is contained in:
parent
9e628ad5e5
commit
7075dd4316
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 8 12:44:46 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Remove sk1 depending extension as sk1 is py2 only
|
||||
* Keep conditioned so it will stay on Leap 15 if backported
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 5 18:13:25 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package inkscape
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LLC
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,6 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%bcond_without python2
|
||||
Name: inkscape
|
||||
Version: 0.92.4
|
||||
Release: 0
|
||||
@ -238,6 +239,11 @@ rm %{name}.man-lang.tmp
|
||||
# Install appdata
|
||||
install -D -m 0644 inkscape.appdata.xml %{buildroot}%{_datadir}/metainfo/inkscape.appdata.xml
|
||||
|
||||
%if !%{with python2}
|
||||
# remove skencil extension as we need sk1 that is py2 only
|
||||
rm -rf %{buildroot}%{_datadir}/inkscape/extensions/sk*
|
||||
%endif
|
||||
|
||||
%fdupes %{buildroot}
|
||||
|
||||
# We can't really move the localized manpages to the lang package, since they'd
|
||||
@ -310,8 +316,10 @@ install -D -m 0644 inkscape.appdata.xml %{buildroot}%{_datadir}/metainfo/inkscap
|
||||
# NOTE: export_gimp_palette* does not depend on gimp, but belongs here logically:
|
||||
%{_datadir}/inkscape/extensions/*gimp*
|
||||
|
||||
%if %{with python2}
|
||||
%files extensions-skencil
|
||||
%{_datadir}/inkscape/extensions/sk*
|
||||
%endif
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user