[opencl-utils/f17] Various Bug Fixes for package
Jeremy Newton
mystro256 at fedoraproject.org
Wed Jun 27 23:39:44 UTC 2012
commit 056415f2e8cbdeee503f6f9eb691938db4bc7c48
Author: alexjnewt at hotmail.com <alexjnewt at hotmail.com>
Date: Wed Jun 27 19:40:16 2012 -0400
Various Bug Fixes for package
opencl-utils.spec | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/opencl-utils.spec b/opencl-utils.spec
index 3f107bb..9ebf394 100644
--- a/opencl-utils.spec
+++ b/opencl-utils.spec
@@ -3,7 +3,7 @@
Name: opencl-utils
Version: 0
-Release: 7.svn%{svnversion}%{?dist}
+Release: 8.svn%{svnversion}%{?dist}
Summary: Useful OpenCL tools and utilities
License: MIT
@@ -19,6 +19,7 @@ Source2: %{name}.pc
Patch0: %{name}-fixupmakefile.patch
BuildRequires: mesa-libGL-devel
+BuildRequires: perl
%package devel
Summary: Devel files for OpenCL Utils
@@ -58,9 +59,11 @@ cd src/clrun/
env CFLAGS="%{optflags} -fPIC -Wl,-soname=%{soname}" make
%install
-mkdir -p %{buildroot}%{_libdir} %{buildroot}%{_includedir}/%{name}/clrun/include/C
+mkdir -p %{buildroot}%{_libdir} %{buildroot}%{_includedir}/%{name}/clrun/
cp -a src/clrun/*.h %{buildroot}%{_includedir}/%{name}/clrun/
cp -a src/clrun/*.c %{buildroot}%{_includedir}/%{name}/clrun/
+cp -a src/clrun/Makefile %{buildroot}%{_includedir}/%{name}/clrun/
+cp -a src/clrun/generateClRun.pl %{buildroot}%{_includedir}/%{name}/clrun/
cp -r src/include %{buildroot}%{_includedir}/%{name}/
install -m 0644 -D %{SOURCE2} %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
#install the library and the links
@@ -86,6 +89,11 @@ ln -sf $soname ${soname%%.*.*}
%postun -p /sbin/ldconfig
%changelog
+* Wed Jun 27 2012 Jeremy Newton <alexjnewt at hotmail.com> - 0-8.svn16
+- Fixed a typo (creates a redundant empty folders)
+- Fixed missing source devel files
+- Added missing buildrequire perl
+
* Sun Jun 24 2012 Jeremy Newton <alexjnewt at hotmail.com> - 0-7.svn16
- Reverted reorganizing of source files due to compilation problems
More information about the scm-commits
mailing list