openSUSE / obs-sign

sign daemon and client for remote gpg signing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Modernize spec file

xsuchy opened this issue · comments

The file dist/obs-signd.spec can need some love.

I originally removed some obsolete thing (like buildroot, defattr), but it was reverted back by sync up on Jul 2019.
There are some other things, like gziping man page is not necessary (rpmbuild do that automatically). Better use of macros. Dependencies. Scriptlets on Fedora are definitely different.

I do not really want to create dozen PR and discuss them individually - but you can steal any part of this spec file:
https://src.fedoraproject.org/rpms/obs-signd/blob/master/f/obs-signd.spec