From 3d17f7a4b84915d78da8500560214820411fe45a Mon Sep 17 00:00:00 2001 From: B Stack Date: Thu, 6 Sep 2018 06:34:44 -0400 Subject: attempt to fix license file 1 --- veracrypt/veracrypt.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'veracrypt') 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 1.22-4 +* Thu Sep 06 2018 B Stack 1.22-4 - rebuild rpm -- cgit