Go to file
Jan Engelhardt f0d3aa35d7 Accepting request 143922 from home:sbrabec:gpg-offline-verify
Verify GPG signature: Perform build-time offline GPG verification.
Please verify that included keyring matches your needs.
For manipulation with the offline keyring, please use gpg-offline tool from openSUSE:Factory, devel-tools-building or Base:System.
See the man page and/or /usr/share/doc/packages/gpg-offline/PACKAGING.HOWTO.

If you need to build your package for older products and don't want to mess spec file with ifs, please follow PACKAGING.HOWTO:
you can link or aggregate gpg-offline from
devel:tools:building or use following trick with "osc meta prjconf":

--- Cut here ----
%if 0%{?suse_version} <= 1220
Substitute: gpg-offline
%endif

Macros:
%gpg_verify(dnf) \
%if 0%{?suse_version} > 1220\
echo "WARNING: Using %%gpg_verify macro from prjconf, not from gpg-offline package."\
gpg-offline --directory="%{-d:%{-d*}}%{!-d:%{_sourcedir}}" --package="%{-n:%{-n*}}%{!-n:%{name}}""%{-f: %{-f*}}" --verify %{**}\
%else\
echo "WARNING: Dummy prjconf macro. gpg-offline is not available, skipping %{**} GPG signature verification!"\
%endif\
%nil
-----------------

OBS-URL: https://build.opensuse.org/request/show/143922
OBS-URL: https://build.opensuse.org/package/show/filesystems/posixovl?expand=0&rev=8
2012-12-09 22:36:42 +00:00
.gitattributes Accepting request 67680 from home:jengelh:dev 2011-06-01 19:12:56 +00:00
.gitignore Accepting request 67680 from home:jengelh:dev 2011-06-01 19:12:56 +00:00
posixovl-1.2.tar.xz Accepting request 67680 from home:jengelh:dev 2011-06-01 19:12:56 +00:00
posixovl-1.2.tar.xz.asc Accepting request 67680 from home:jengelh:dev 2011-06-01 19:12:56 +00:00
posixovl.changes Accepting request 143922 from home:sbrabec:gpg-offline-verify 2012-12-09 22:36:42 +00:00
posixovl.keyring Accepting request 143922 from home:sbrabec:gpg-offline-verify 2012-12-09 22:36:42 +00:00
posixovl.spec Accepting request 143922 from home:sbrabec:gpg-offline-verify 2012-12-09 22:36:42 +00:00