summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-30 17:53:10 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-30 17:53:10 -0800
commit28522fd0a83226f500c0e150612e6c740ecefb8b (patch)
treeb61bbc64cd595e098afd7b0686d76c50259cf13a
parent22be73ddd88ed6a78097c6c195a6765824a1f0f6 (diff)
downloadraptor-28522fd0a83226f500c0e150612e6c740ecefb8b.tar.gz
raptor-28522fd0a83226f500c0e150612e6c740ecefb8b.tar.bz2
raptor-28522fd0a83226f500c0e150612e6c740ecefb8b.zip
fixed build
-rw-r--r--packaging/raptor.spec10
1 files changed, 4 insertions, 6 deletions
diff --git a/packaging/raptor.spec b/packaging/raptor.spec
index 9c12c69..2aef68b 100644
--- a/packaging/raptor.spec
+++ b/packaging/raptor.spec
@@ -46,21 +46,20 @@ raptor library.
%configure --disable-gtk-doc --disable-static --with-pic --with-html-dir=%{_docdir}
make %{?_smp_flags}
-%install
-%make_install
-mv %{buildroot}%{_docdir}/raptor2 %{buildroot}%{_docdir}/raptor-devel
-
%check
export MALLOC_CHECK_=2
make check
unset MALLOC_CHECK_
+%install
+%make_install
+
%post -n libraptor -p /sbin/ldconfig
%postun -n libraptor -p /sbin/ldconfig
-%docs_package
+%remove_package
%files
%defattr(-,root,root)
@@ -69,7 +68,6 @@ unset MALLOC_CHECK_
%files -n libraptor-devel
%defattr(-,root,root)
-%doc %{_docdir}/raptor-devel
%{_libdir}/lib*.so
%{_includedir}/*
%{_libdir}/pkgconfig/*.pc