[cmake] Project nits that RHEL review yielded

Petr Machata pmachata at fedoraproject.org
Fri Mar 30 11:17:09 UTC 2012


commit ca74f7116c2a0747a2936c666f4bb1c272ed9d97
Author: Petr Machata <pmachata at redhat.com>
Date:   Fri Mar 30 13:14:37 2012 +0200

    Project nits that RHEL review yielded
    
    - escape a macro in a comment
    - fix a typo in description
    - mark documentation with %doc

 cmake.spec |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/cmake.spec b/cmake.spec
index ad3069c..4173630 100644
--- a/cmake.spec
+++ b/cmake.spec
@@ -3,7 +3,7 @@
 %bcond_with bootstrap
 # Set to bcond_with or use --without gui to disable qt4 gui build
 %bcond_without gui
-# Set to RC version if building RC, else %{nil}
+# Set to RC version if building RC, else %%{nil}
 %define rcver -rc1
 
 Name:           cmake
@@ -43,7 +43,7 @@ CMake is used to control the software compilation process using simple
 platform and compiler independent configuration files. CMake generates 
 native makefiles and workspaces that can be used in the compiler 
 environment of your choice. CMake is quite sophisticated: it is possible 
-to support complex environments requiring system configuration, pre-processor 
+to support complex environments requiring system configuration, preprocessor
 generation, code generation, and template instantiation.
 
 
@@ -124,7 +124,7 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
 %files
 %defattr(-,root,root,-)
 %config(noreplace) %{_sysconfdir}/rpm/macros.cmake
-%{_datadir}/doc/%{name}-%{version}/
+%doc %{_datadir}/doc/%{name}-%{version}/
 %if %{with gui}
 %exclude %{_datadir}/doc/%{name}-%{version}/cmake-gui.*
 %endif


More information about the scm-commits mailing list