--- template.orig	2020-10-27 23:17:53.311410000 +0600
+++ template	2020-10-29 22:32:08.933591000 +0600
@@ -31,2 +31,12 @@ fi
 
+# Liberation
+pre_patch() {
+	# Remove docs having references to non-FSDG distros/OS
+	rm -rfv docs
+	# Remove NEWS having references to non-FSDG distros/OS
+	rm -v NEWS
+	# Remove non-FSDG referencing stuff
+	rm -rfv {tests,ci,.gitlab-ci.yml}
+}
+
 libosinfo-devel_package() {
