This file is indexed.

/usr/share/gedit/plugins/snippets/rpmspec.xml is in gedit-common 3.28.1-1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version='1.0' encoding='utf-8'?>
<!-- requires rpm-python package installed -->
<snippets language="rpmspec">
  <snippet id="ch">
    <text><![CDATA[$<
import rpm
import datetime

spec = rpm.spec($GEDIT_CURRENT_DOCUMENT_PATH)
date = datetime.date.today().strftime("%a %b %d %Y")
headers = spec.packages[0].header
version = headers['Version']
release = ".".join(headers['Release'].split(".")[:-1])
packager = headers['Packager']
newheader = "* %s %s - %s-%s\n- " % (date, packager, version, release)
return newheader
>
]]></text>
    <tag>ch</tag>
    <description>changelog entry</description>
  </snippet>
</snippets>