diff --git a/polkit-qt.spec b/polkit-qt.spec index 0de23f0..7233dd9 100644 --- a/polkit-qt.spec +++ b/polkit-qt.spec @@ -3,7 +3,7 @@ %global rpm_macros_dir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d) -%global doc 1 +%global docs 1 Name: polkit-qt Version: 0.112.0 @@ -32,7 +32,7 @@ Source10: macros.polkit-qt BuildRequires: automoc4 BuildRequires: cmake -%if 0%{?doc} +%if 0%{?docs} BuildRequires: doxygen %endif BuildRequires: gcc-c++ @@ -70,7 +70,7 @@ BuildArch: noarch %cmake_build -%if 0%{?doc} +%if 0%{?docs} ## build docs doxygen %{SOURCE1} # Remove installdox file - it is not necessary here @@ -106,7 +106,7 @@ install -p -m644 -D %{SOURCE10} %{buildroot}%{rpm_macros_dir}/macros.polkit-qt %{_libdir}/cmake/PolkitQt-1/ %{_datadir}/cmake/Modules/*.cmake -%if 0%{?doc} +%if 0%{?docs} %files doc %doc html/* %endif