Updated OBS rpm/debian rules.

This commit is contained in:
Alexander Shaduri
2021-03-10 13:57:22 +04:00
parent 2e49c6b7ed
commit 4809173feb
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ export DEB_CFLAGS_MAINT_APPEND = -Wall
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%:
dh $@
dh $@
override_dh_auto_configure:
dh_auto_configure -- -DAPP_COMPILER_ENABLE_WARNINGS=ON
dh_auto_configure -- -DAPP_COMPILER_ENABLE_WARNINGS=ON
+2 -1
View File
@@ -100,7 +100,8 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%attr(0755,root,root) %{_sbindir}/%{name}
%if 0%{?suse_version}
%doc %{_defaultdocdir}/%{name}
#%doc %{_defaultdocdir}/%{name}
%doc %{_datadir}/doc/gsmartcontrol
%elif 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version}
%{_pkgdocdir}
%endif