[pcl] Rebuild for vtk 6.0.0; spec cleanup

Orion Poplawski orion at fedoraproject.org
Fri Jul 12 19:40:05 UTC 2013


commit dff052d724eaf4b85485655d0bab0f512f82a276
Author: Orion Poplawski <orion at nwra.com>
Date:   Fri Jul 12 13:39:58 2013 -0600

    Rebuild for vtk 6.0.0; spec cleanup

 pcl.spec |   14 ++++----------
 1 files changed, 4 insertions(+), 10 deletions(-)
---
diff --git a/pcl.spec b/pcl.spec
index e6e796e..d205132 100644
--- a/pcl.spec
+++ b/pcl.spec
@@ -1,6 +1,6 @@
 Name:           pcl
 Version:        1.6.0
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Library for point cloud processing
 
 Group:          System Environment/Libraries
@@ -10,7 +10,6 @@ Source0:        http://www.pointclouds.org/assets/files/1.6.0/PCL-1.6.0-Source.t
 Patch0:         PCL-1.4.0-Source-fedora.patch
 Patch1:         pcl-1.6.0-boost153.patch
 Patch2:         pcl-1.6.0-arm.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # For plain building
 BuildRequires:  cmake, gcc-c++, boost-devel
@@ -118,7 +117,6 @@ popd
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 pushd build
 make install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
@@ -159,9 +157,6 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-1.6
 #cd build
 #make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 
 %post -p /sbin/ldconfig
 
@@ -169,31 +164,30 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %files
-%defattr(-,root,root,-)
 %doc AUTHORS.txt LICENSE.txt
 %{_libdir}/*.so.*
 %{_datadir}/%{name}-1.6
 
 %files devel
-%defattr(-,root,root,-)
 %{_includedir}/*
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc
 %{_libdir}/cmake/pcl
 
 %files tools
-%defattr(-,root,root,-)
 %{_bindir}/pcl_*
 # There are no .desktop files because the GUI tools are rather examples
 # to understand a particular feature of PCL.
 
 %files doc
-%defattr(-,root,root,-)
 %doc build/doc/doxygen/api
 %doc doc/tutorials/tutorials
 
 
 %changelog
+* Fri Jul 12 2013 Orion Poplawski <orion at cora.nwra.com> - 1.6.0-6
+- Rebuild for vtk 6.0.0
+
 * Sat Jun 29 2013 Rich Mattes <richmattes at gmail.com> - 1.6.0-5
 - Rebuild for new eigen3
 - Change eigen3 BR to -static


More information about the scm-commits mailing list