From 1ddaf8ed963a2dd14b3b39f97a85bc18e5d7e0cf Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mon, 9 Sep 2019 16:33:13 +0200 Subject: [PATCH] Make appdata validation pass --- inkscape-appdata.patch | 19 +++++++++++++++++++ inkscape.spec | 5 ++++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 inkscape-appdata.patch diff --git a/inkscape-appdata.patch b/inkscape-appdata.patch new file mode 100644 index 0000000..b1b0b8e --- /dev/null +++ b/inkscape-appdata.patch @@ -0,0 +1,19 @@ +--- inkscape-master/org.inkscape.Inkscape.appdata.xml.in.orig 2019-08-26 13:18:13.000000000 +0200 ++++ inkscape-master/org.inkscape.Inkscape.appdata.xml.in 2019-09-09 15:59:48.404305790 +0200 +@@ -51,16 +51,6 @@ + + + +- +- +-

This is the second public alpha release of Inkscape 1.0! This package is intended to test against regressions, try new features, and get a taste of the future of Inkscape!

+-
+-
+- +- +-

This is the first public alpha release of Inkscape 1.0! This package is intended to test against regressions, try new features, and get a taste of the future of Inkscape!

+-
+-
+ + +
    diff --git a/inkscape.spec b/inkscape.spec index c370125..c6821aa 100644 --- a/inkscape.spec +++ b/inkscape.spec @@ -15,6 +15,9 @@ Source0: inkscape-master.tar.gz # Fedora Color Palette, GIMP format, CC-BY 3.0 Source2: Fedora-Color-Palette.gpl +# Make appdata validation pass +Patch0: inkscape-appdata.patch + Provides: bundled(libcroco) Provides: bundled(libgdl) @@ -107,7 +110,7 @@ graphics in W3C standard Scalable Vector Graphics (SVG) file format. %prep -%setup -qn inkscape-master +%autosetup -n inkscape-master -p1 pathfix.py -pni "%{__python3} %{py3_shbang_opts}" . find . -name CMakeLists.txt | xargs sed -i 's|COMMAND python |COMMAND %{__python3} |g'