diff --git a/Ne10.changes b/Ne10.changes index ce2fa3b..55048a0 100644 --- a/Ne10.changes +++ b/Ne10.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 5 13:29:18 UTC 2019 - Martin Pluskal + +- Use modern macros for building + ------------------------------------------------------------------- Thu Oct 17 12:25:36 UTC 2019 - Richard Brown diff --git a/Ne10.spec b/Ne10.spec index dc33ee4..fec4c52 100644 --- a/Ne10.spec +++ b/Ne10.spec @@ -22,11 +22,10 @@ Version: 1.2.1 Release: 0 Summary: A library of common math and DSP functions optimized for ARM NEON License: BSD-3-Clause -Url: http://projectne10.github.com/Ne10/ +URL: https://projectne10.github.com/Ne10/ Source: https://github.com/projectNe10/Ne10/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ -BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: armv7hl aarch64 %description @@ -78,16 +77,15 @@ This package contains the development files. %build %cmake \ - -DNE10_BUILD_STATIC=OFF \ - -DNE10_BUILD_SHARED=ON \ - -DGNULINUX_PLATFORM=ON \ %ifarch aarch64 -DNE10_LINUX_TARGET_ARCH=aarch64 \ %else -DNE10_LINUX_TARGET_ARCH=armv7 \ %endif - -DCMAKE_BUILD_TYPE=RelWithDebInfo -make %{?_smp_mflags} + -DNE10_BUILD_STATIC=OFF \ + -DNE10_BUILD_SHARED=ON \ + -DGNULINUX_PLATFORM=ON +%cmake_build %install for i in inc/*.h; do @@ -105,18 +103,14 @@ done %postun -n libNE10_test%{sover} -p /sbin/ldconfig %files -n libNE10-%{sover} -%defattr(-,root,root) -%doc LICENSE +%license LICENSE %{_libdir}/libNE10.so.%{sover}* %files -n libNE10_test%{sover} -%defattr(-,root,root) -%doc LICENSE +%license LICENSE %{_libdir}/libNE10_test.so.%{sover}* %files devel -%defattr(-,root,root) -%doc LICENSE %{_includedir}/*.h %{_libdir}/libNE10.so %{_libdir}/libNE10_test.so