From 1cdfcfdf4da3a991a5fc469113a3fe51c73465cb Mon Sep 17 00:00:00 2001 From: Brad Bell Date: Sat, 28 Jan 2023 20:01:33 -0700 Subject: [PATCH] 1. Remove .doctrees and .buildinfo from documentation. 2. Remove extra changelog command. --- cppad.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cppad.spec b/cppad.spec index 5b20d51..fad0ac7 100644 --- a/cppad.spec +++ b/cppad.spec @@ -92,6 +92,11 @@ xrst \ --index_page_name user_guide \ --group_list default app \ --suppress_spell_warnings +# +# remove hidden files not needed for viewing documentation +rm CppAD-%{version}/build/html/.buildinfo +rm -r CppAD-%{version}/build/html/.doctrees + # # COPYING, uw_copy_040507.html mv CppAD-%{version}/COPYING COPYING @@ -247,12 +252,11 @@ make %{?_smp_mflags} check # This enables one to check that the necessary files are installed. # ---------------------------------------------------------------------------- %changelog -%changelog * Sat Jan 28 2023 Brad Bell - 20230000.0-1 - Advance upstream source to 2023. - Add python-xrst to BuildRequires so can buile documentation. - Remove Source1, change Source0 -> Source, and make definition so tarball - have the same name as the directory it creates. + has the same name as the directory it creates. - Change URL from documentation to git repo so can use in Source definition. - Change some cmake definitions from empty string to NOTFOUND. - Explicity specify the source directory (-S) and binary (-B) in camke comamnd.