From 11094ae8f8b03bd8898f656ead751eda661284be4e2b1ac287a035b80ca1245d Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Mon, 9 Jun 2025 23:28:11 +0530 Subject: [PATCH] Minor specfile cleanups. --- armadillo.spec | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/armadillo.spec b/armadillo.spec index a9e1240..84516f1 100644 --- a/armadillo.spec +++ b/armadillo.spec @@ -47,12 +47,6 @@ Group: System/Libraries Armadillo is a C++ linear algebra library (matrix maths). Integer, floating point and complex numbers are supported, as well as a subset of trigonometric and statistics functions. -Various matrix decompositions are provided through optional -integration with LAPACK and ATLAS libraries. -A delayed evaluation approach is employed (during compile time) -to combine several operations into one and reduce (or eliminate) -the need for temporaries. This is accomplished through recursive -templates and template meta-programming. This package provides the shared libraries for armadillo. @@ -89,13 +83,7 @@ Armadillo C++ library. It contains header files, example programs, and user documentation (reference guide). %prep -%setup -q -#Convert DOS end-of-line to UNIX end-of-line -sed -i 's/\r$//' README.md -sed -i 's/\r$//' examples/README.txt -sed -i 's/\r$//' LICENSE.txt -sed -i 's/\r$//' NOTICE.txt -for i in `ls examples/*.cpp`; do sed -i 's/\r$//' $i; done +%autosetup -p1 %build %cmake -DBUILD_SMOKE_TEST:BOOL=ON @@ -112,8 +100,7 @@ rm -rf examples/lib_win64 export LD_LIBRARY_PATH=%{buildroot}%{_libdir} %ctest -%post -n %{soname} -p /sbin/ldconfig -%postun -n %{soname} -p /sbin/ldconfig +%ldconfig -n %{soname} -p /sbin/ldconfig %files -n %{soname} %{_libdir}/*.so.* -- 2.51.1