From c6e8909192ff0e804969c699014bd24c2e708956b5bea8d518a2a5ef8019a3fd Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 24 Aug 2019 16:24:24 +0000 Subject: [PATCH] - Specfile modernization. OBS-URL: https://build.opensuse.org/package/show/science/muparser?expand=0&rev=23 --- muparser.changes | 5 +++++ muparser.spec | 10 +++------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/muparser.changes b/muparser.changes index c3e6284..9d4d28b 100644 --- a/muparser.changes +++ b/muparser.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Aug 24 16:24:09 UTC 2019 - Jan Engelhardt + +- Specfile modernization. + ------------------------------------------------------------------- Sat Jul 6 10:37:33 UTC 2019 - Jan Engelhardt diff --git a/muparser.spec b/muparser.spec index 661a7d9..6a1a8ba 100644 --- a/muparser.spec +++ b/muparser.spec @@ -23,13 +23,12 @@ Release: 0 Summary: A math parser library License: MIT Group: Productivity/Scientific/Math -Url: http://muparser.beltoforion.de/ +URL: http://muparser.beltoforion.de/ Source: https://github.com/beltoforion/muparser/archive/v%{version}.tar.gz Source1: baselibs.conf Patch1: muparser-optflags.patch Patch2: muparser-abiversion.diff -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ @@ -61,8 +60,7 @@ works by transforming a mathematical expression into bytecode and precalculating constant parts of the expression. %prep -%setup -q -%patch -P 1 -P 2 -p1 +%autosetup -p1 %build sh build/autoconf/acregen.sh @@ -78,12 +76,10 @@ rm -f "%buildroot/%_libdir"/*.la %postun -n %lname -p /sbin/ldconfig %files -n %lname -%defattr(-,root,root) %_libdir/libmuparser.so.2* -%doc License.txt +%license License.txt %files devel -%defattr(-,root,root) %_includedir/muParser*.h %_libdir/libmuparser.so %_libdir/pkgconfig/muparser.pc