Hello community, here is the log from the commit of package Vc for openSUSE:Factory checked in at 2015-09-13 09:45:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/Vc (Old) and /work/SRC/openSUSE:Factory/.Vc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "Vc" Changes: -------- --- /work/SRC/openSUSE:Factory/Vc/Vc.changes 2015-08-10 09:15:57.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.Vc.new/Vc.changes 2015-09-13 09:45:27.000000000 +0200 @@ -1,0 +2,6 @@ +Fri Sep 11 16:29:08 UTC 2015 - [email protected] + +- Use cmake macro +- Cleanup spec file with spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ Vc.spec ++++++ --- /var/tmp/diff_new_pack.2VB8mR/_old 2015-09-13 09:45:28.000000000 +0200 +++ /var/tmp/diff_new_pack.2VB8mR/_new 2015-09-13 09:45:28.000000000 +0200 @@ -30,7 +30,7 @@ BuildRequires: fdupes BuildRequires: gcc-c++ BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: %{ix86} x86_64 +ExclusiveArch: %ix86 x86_64 %description Vc is a free software library to ease explicit vectorization of C++ code. It @@ -67,23 +67,17 @@ %setup -q %build -mkdir build -cd build -_libsuffix=$(echo %_lib | cut -b4-) -cmake ../ \ - -DCMAKE_INSTALL_PREFIX=%{_prefix} \ - -DLIB_SUFFIX="$_libsuffix" \ +%cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DBUILD_TESTING=OFF -make %{?_smp_mflags} VERBOSE=1 -cd .. +make %{?_smp_mflags} -cd doc/ +cd ../doc doxygen cd .. %install -%make_install -C build +%cmake_install # Install devel docs (do it manually to fix also rpmlint warning "files-duplicate" with %%fdupes) mkdir -p %{buildroot}%{_docdir}/%{name}-devel @@ -96,8 +90,8 @@ %defattr(-,root,root,-) %doc %{_docdir}/%{name}-devel/ %{_includedir}/Vc/ -%dir /usr/lib/cmake -/usr/lib/cmake/Vc/ +%dir %{_libexecdir}/cmake +%{_libexecdir}/cmake/Vc/ %files devel-static %defattr(-,root,root,-)
