summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@debian.org>2019-12-28 10:20:43 -0500
committerGravatar Benjamin Barenblat <bbaren@debian.org>2019-12-28 10:20:43 -0500
commit8009a0229636e2f38c5ecf5a5ef7cfdf0f4cf9b8 (patch)
tree9348750d005aff21ee2f17f4c9cc86c5907df9d1
parent76ac7209d5e261a6078fdfdde5c7dac851300c01 (diff)
Set OARS content rating in appdata file
appstream-util 0.7.16 requires content ratings in all appdata files. Add one for transmission-remote-gtk.
-rw-r--r--debian/patches/appdataContentRating.diff11
-rw-r--r--debian/patches/series1
2 files changed, 12 insertions, 0 deletions
diff --git a/debian/patches/appdataContentRating.diff b/debian/patches/appdataContentRating.diff
new file mode 100644
index 0000000..097a8fc
--- /dev/null
+++ b/debian/patches/appdataContentRating.diff
@@ -0,0 +1,11 @@
+Description: Add content_rating field to appdata file
+Author: Benjamin Barenblat <bbaren@debian.org>
+Forwarded: no
+--- a/data/io.github.TransmissionRemoteGtk.appdata.xml.in
++++ b/data/io.github.TransmissionRemoteGtk.appdata.xml.in
+@@ -56,4 +56,5 @@
+ <id>uk.org.eth0.transmission-remote-gtk.desktop</id>
+ </provides>
+ <update_contact>tingping_at_fedoraproject.org</update_contact>
++ <content_rating type="oars-1.0" />
+ </component>
diff --git a/debian/patches/series b/debian/patches/series
index 8afeb66..77643e8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
avoidRssGlib.diff
+appdataContentRating.diff
validateAppdata.diff