Am 24.02.2017 um 06:19 schrieb Andrew Toskin:
I'm a new Fedora packager; my very first packages have not yet been accepted. 
I'm working on RPM packages for a few GNOME Shell extensions. Things are mostly 
going well, except that `fedora-review` complains about gschemas in the 
packages, and I'm not entirely sure what this is supposed to be telling me.

     Issues:
     =======
     - glib-compile-schemas is run in %postun and %posttrans if package has
       *.gschema.xml files.
       Note: gschema file(s) in gnome-shell-extension-activities-configurator
       See:
       
http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#GSettings_Schema

I've read the linked wiki page, and I still don't understand what I'm supposed 
to *do*.

That's a false positive issue from f-r. For Fedora <= 23 running `glib-compile-schemas`-scriptlets was mandatory; for Fedora >= 24 it is discouraged.

The quoted wiki-page clearly states: This scriptlet SHOULD NOT be used in Fedora 24 or later.

So simply keep your package "as is", pick up the gschema-files and without the scriptlets. Or put in guarded scriptlets, if you want to build for EPEL7, too:

%if (0%{?fedora} && 0%{?fedora} <= 23) || (0%{?rhel} && 0%{?rhel} <= 7)
%endif

Cheers
  Björn
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to