diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-01-05 07:12:02 -0800 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-01-05 07:12:02 -0800 |
commit | dd05bde5d626acbe62efb88312ed0f407c234ef9 (patch) | |
tree | f3eaa03a3ff5a6aff992bf4360f585b3f491b43c | |
parent | 54f5a8037d09da9c129a7941a6bc0c80f6107b35 (diff) | |
parent | d361b6a5b78d30c70922cb17ed23e1cf02c6b64d (diff) | |
download | rspamd-dd05bde5d626acbe62efb88312ed0f407c234ef9.tar.gz rspamd-dd05bde5d626acbe62efb88312ed0f407c234ef9.zip |
Merge pull request #22 from fatalbanana/master
Fix some rpmlint warnings for openSUSE.
-rw-r--r-- | centos/rspamd.spec | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/centos/rspamd.spec b/centos/rspamd.spec index f23058eef..e7e7959bc 100644 --- a/centos/rspamd.spec +++ b/centos/rspamd.spec @@ -22,7 +22,11 @@ Group: System Environment/Daemons # BSD License (two clause) # http://www.freebsd.org/copyright/freebsd-license.html +%if 0%{?suse_version} +License: BSD-2-Clause +%else License: BSD2c +%endif URL: https://rspamd.com BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} %if "%{USE_JUDY}" == "1" @@ -40,7 +44,10 @@ Requires: lua, logrotate %if 0%{?suse_version} Requires(pre): shadow %if 0%{?suse_version} >= 1300 -Requires(pre,post,preun,postun): systemd +Requires(pre): systemd +Requires(post): systemd +Requires(preun): systemd +Requires(postun): systemd %endif %else Requires(pre): shadow-utils |