summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--veracrypt/veracrypt.spec8
1 files changed, 6 insertions, 2 deletions
diff --git a/veracrypt/veracrypt.spec b/veracrypt/veracrypt.spec
index e532624..a417aae 100644
--- a/veracrypt/veracrypt.spec
+++ b/veracrypt/veracrypt.spec
@@ -92,6 +92,8 @@ BuildRequires: gcc-c++
BuildRequires: fuse-devel
BuildRequires: desktop-file-utils
BuildRequires: ImageMagick
+# need rename
+BuildRequires: util-linux
BuildRequires: yasm
%if 0%{?rhel}%{?fedora}
%if 0%{?rhel}
@@ -160,6 +162,8 @@ test -f %{srcdir}/Setup/Linux/%{name}.desktop && \
#do
# %{__install} -p -D -d %{indocdir}/${thisdir} %{buildroot}%{_defaultdocdir}/%{name}/${thisdir}
#done
+# rename doc with spaces in name, mostly for user guide
+find %{indocdir} -name '* *' ! -regex '.*doc.html.*' -exec rename -v ' ' '_' {} + || :
# icons
pushd %{srcdir}/Resources/Icons
@@ -213,7 +217,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/
%{_bindir}/%{name}
#%{_docdir}/%{name} # handled by %doc above?
%{_datadir}/applications/*.desktop
@@ -221,5 +225,5 @@ fi
%{_datadir}/icons/hicolor/*/apps/*
%changelog
-* Wed Sep 05 2018 B Stack <bgstack15@gmail.com> 1.22-4
+* Thu Sep 06 2018 B Stack <bgstack15@gmail.com> 1.22-4
- rebuild rpm
bgstack15