summaryrefslogtreecommitdiff
path: root/veracrypt
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2018-09-06 06:34:44 -0400
committerB Stack <bgstack15@gmail.com>2018-09-06 06:34:44 -0400
commit3d17f7a4b84915d78da8500560214820411fe45a (patch)
treef502accff680e15fc18c7d9bc7c0891c36c30b21 /veracrypt
parentfix license source location (diff)
downloadstackrpms-3d17f7a4b84915d78da8500560214820411fe45a.tar.gz
stackrpms-3d17f7a4b84915d78da8500560214820411fe45a.tar.bz2
stackrpms-3d17f7a4b84915d78da8500560214820411fe45a.zip
attempt to fix license file 1
Diffstat (limited to 'veracrypt')
-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