diff options
author | Michael Andres <ma@suse.de> | 2011-10-06 14:21:54 +0200 |
---|---|---|
committer | Michael Andres <ma@suse.de> | 2011-10-06 14:21:54 +0200 |
commit | 1fc11eb24407b0b5d4417cde1c43c5c22282dcbc (patch) | |
tree | f1dcb99f4eabff987a2dfc56a085d57a876d47f8 /package | |
parent | 0db9d7f222d323fb270c4c0bb0d478a17b8bc845 (diff) | |
download | libsolv-1fc11eb24407b0b5d4417cde1c43c5c22282dcbc.tar.gz libsolv-1fc11eb24407b0b5d4417cde1c43c5c22282dcbc.tar.bz2 libsolv-1fc11eb24407b0b5d4417cde1c43c5c22282dcbc.zip |
Provide a FindLibSolv.cmake file
Diffstat (limited to 'package')
-rw-r--r-- | package/libsolv.spec.in | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/package/libsolv.spec.in b/package/libsolv.spec.in index deec7b3..2209d1f 100644 --- a/package/libsolv.spec.in +++ b/package/libsolv.spec.in @@ -184,7 +184,7 @@ cmake $CMAKE_FLAGS \ %{?with_python_binding:-DENABLE_PYTHON=1} \ %{?with_ruby_binding:-DENABLE_RUBY=1} \ -DUSE_VENDORDIRS=1 \ - -DCMAKE_SKIP_RPATH=1 + -DCMAKE_SKIP_RPATH=1 make %{?jobs:-j %jobs} %install @@ -211,26 +211,27 @@ rm -rf "$RPM_BUILD_ROOT" %files -n libsolv@LIBSOLV_SOVERSION@ %defattr(-,root,root) %doc LICENSE* -%_libdir/libsolv.so.* -%_libdir/libsolvext.so.* +%{_libdir}/libsolv.so.* +%{_libdir}/libsolvext.so.* %endif %files tools %defattr(-,root,root) -%exclude /usr/bin/helix2solv -%exclude /usr/bin/solv -/usr/bin/* +%exclude %{_bindir}/helix2solv +%exclude %{_bindir}/solv +%{_bindir}/* %files devel %defattr(-,root,root) -%_libdir/libsolv.so -%_libdir/libsolvext.so -/usr/include/solv -/usr/bin/helix2solv +%{_libdir}/libsolv.so +%{_libdir}/libsolvext.so +%{_includedir}/solv +%{_bindir}/helix2solv +%{_datadir}/cmake/Modules/* %files demo %defattr(-,root,root) -/usr/bin/solv +%{_bindir}/solv %if %{with perl_binding} %files -n perl-solv |