diff options
author | B Stack <bgstack15@gmail.com> | 2018-09-06 08:05:59 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2018-09-06 08:05:59 -0400 |
commit | b9bbbb6fed8624e3d503c600d3c0de31db867dfd (patch) | |
tree | e8b9f8c2c6b9955d5b7b3f7cb8b1bfdff9102ad7 /veracrypt/veracrypt.spec | |
parent | attempt 2 for licensing file (diff) | |
download | stackrpms-b9bbbb6fed8624e3d503c600d3c0de31db867dfd.tar.gz stackrpms-b9bbbb6fed8624e3d503c600d3c0de31db867dfd.tar.bz2 stackrpms-b9bbbb6fed8624e3d503c600d3c0de31db867dfd.zip |
fix doc on el, part 2
Diffstat (limited to 'veracrypt/veracrypt.spec')
-rw-r--r-- | veracrypt/veracrypt.spec | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/veracrypt/veracrypt.spec b/veracrypt/veracrypt.spec index aed875c..a8dad81 100644 --- a/veracrypt/veracrypt.spec +++ b/veracrypt/veracrypt.spec @@ -67,6 +67,11 @@ %endif %endif +%define doctarget %{_docdir}/%{name} +%if 0%{?rhel} + %define %{doctarget} %{_docdir}/%{name}-%{version} +%endif + Name: veracrypt Version: 1.22 Release: 4 @@ -170,7 +175,7 @@ if test -e "%{indocdir}/chm/VeraCrypt User Guide.chm" ; then mv "%{indocdir}/chm/VeraCrypt User Guide.chm" "%{indocdir}/chm/VeraCrypt_User_Guide.chm" || : fi -%{__install} -m 0644 -t %{buildroot}%{_docdir}/%{name} %{indocdir}/chm/VeraCrypt_User_Guide.chm +%{__install} -D -m 0644 -t %{buildroot}%{doctarget} %{indocdir}/chm/VeraCrypt_User_Guide.chm # icons pushd %{srcdir}/Resources/Icons @@ -224,7 +229,7 @@ fi %else %doc %{license_files} %endif -%doc "%{indocdir}/chm/VeraCrypt_User_Guide.chm" %{indocdir}/EFI-DCS/ %{indocdir}/html/ +%doc %{indocdir}/chm/VeraCrypt_User_Guide.chm %{indocdir}/EFI-DCS/ %{indocdir}/html/ %if !0%{?dummy_package} %{_bindir}/%{name} %endif |