Change %define to %global according to packaging guidelines

Based on discussion started on fedora-devel:
https://lists.fedoraproject.org/archives/list/devel%40lists.fedoraproject.org/thread/AS35NKZSAWRIKY77IUYOVNFAT6AJQVAU/
This commit is contained in:
Jakub Jelen 2016-01-04 11:02:52 +01:00
parent 8e8c8bb072
commit a6b7228e05

View File

@ -1,9 +1,9 @@
%define username saslauth %global username saslauth
%define hint Saslauthd user %global hint Saslauthd user
%define homedir /run/saslauthd %global homedir /run/saslauthd
%define _plugindir2 %{_libdir}/sasl2 %global _plugindir2 %{_libdir}/sasl2
%define bootstrap_cyrus_sasl 0 %global bootstrap_cyrus_sasl 0
Summary: The Cyrus SASL library Summary: The Cyrus SASL library
Name: cyrus-sasl Name: cyrus-sasl
@ -382,7 +382,6 @@ getent passwd %{username} >/dev/null || useradd -r -g %{username} -d %{homedir}
%files lib %files lib
%defattr(-,root,root) %defattr(-,root,root)
%{!?_licensedir:%global license %%doc}
%license COPYING %license COPYING
%doc AUTHORS NEWS README doc/*.html %doc AUTHORS NEWS README doc/*.html
%{_libdir}/libsasl*.so.* %{_libdir}/libsasl*.so.*