diff --git a/glusterfs.spec b/glusterfs.spec index 37e62d2..4cb8652 100644 --- a/glusterfs.spec +++ b/glusterfs.spec @@ -187,8 +187,8 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) %if ( 0%{?rhel} && 0%{?rhel} <= 5 ) BuildRequires: python-simplejson %endif -%if ( 0%{?_with_systemd:1} ) %if ( 0%{_for_fedora_koji_builds} ) +%if ( 0%{?_with_systemd:1} ) %global glusterfsd_service %{S:%{SOURCE7}} %else %global glusterfsd_service %{S:%{SOURCE8}} @@ -929,6 +929,7 @@ fi ## All %%files should be placed here and keep them sorted by groups ## %files +%{!?_licensedir:%global license %%doc} %license COPYING-GPLV2 COPYING-LGPLV3 %doc ChangeLog INSTALL README.md THANKS %if ( 0%{!?_without_syslog:1} )