Add default Smack manifest for cmake.spec 1.0_post 2.0alpha master 2.0_alpha
authorRyan Ware <ryan.r.ware@intel.com>
Wed, 30 May 2012 00:49:49 +0000 (17:49 -0700)
committerRyan Ware <ryan.r.ware@intel.com>
Wed, 30 May 2012 00:49:49 +0000 (17:49 -0700)
Change-Id: I4331c629ec1e461b9a6ccb1b59b1eed3ec9cad4f
Signed-off-by: Ryan Ware <ryan.r.ware@intel.com>
packaging/cmake.manifest [new file with mode: 0644]
packaging/cmake.spec

diff --git a/packaging/cmake.manifest b/packaging/cmake.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
index 30e13a7..6ebbe92 100644 (file)
@@ -7,6 +7,7 @@ Url:            http://www.cmake.org
 Group:          Development/Tools
 Source0:        http://www.cmake.org/files/v2.8/cmake-%{version}.tar.gz
 Source1:        macros.cmake
+Source1001: packaging/cmake.manifest 
 BuildRequires:  expat-devel
 BuildRequires:  pkgconfig(libarchive) >= 2.8.0
 BuildRequires:  pkgconfig(libcurl)
@@ -30,6 +31,7 @@ template instantiation.
 find -name \*.h -o -name \*.cxx -print0 | xargs -0 chmod -x
 
 %build
+cp %{SOURCE1001} .
 cat > %{buildroot}build-flags.cmake << EOF
 set(CMAKE_SKIP_RPATH YES CACHE BOOL "Skip rpath" FORCE)
 set(CMAKE_USE_RELATIVE_PATHS YES CACHE BOOL "Use relative paths" FORCE)
@@ -67,6 +69,7 @@ install -D -p -m 0644 %{_sourcedir}/macros.cmake \
 %remove_docs
 
 %files
+%manifest cmake.manifest
 %defattr(-,root,root,-)
 %config(noreplace) %{_sysconfdir}/rpm/macros.cmake
 %{_bindir}/ccmake