From 8e98a88a4423dafa30ac3fb195a8c989bcc4ad80 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Wed, 7 Mar 2018 11:03:22 -0600 Subject: [PATCH] .spec cleanup, BR: gcc-c++, use %ldconfig_scriptlets --- libqalculate.spec | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/libqalculate.spec b/libqalculate.spec index 58f7f7b..b123b4c 100644 --- a/libqalculate.spec +++ b/libqalculate.spec @@ -3,13 +3,13 @@ Summary: Multi-purpose calculator library Name: libqalculate Version: 2.0.0 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ -Group: System Environment/Libraries URL: https://qalculate.github.io/ Source0: https://github.com/%{srcnm}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz +BuildRequires: gcc-c++ BuildRequires: glib2-devel BuildRequires: cln-devel BuildRequires: intltool @@ -28,7 +28,6 @@ GNU/Linux %package devel Summary: Development tools for the Qalculate calculator library -Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Requires: glib2-devel, libxml2-devel, cln-devel Requires: mpfr-devel @@ -39,7 +38,6 @@ with libqalculate. %package -n qalculate Summary: Multi-purpose calculator, text mode interface -Group: Applications/Engineering Requires: %{name}%{?_isa} = %{version}-%{release} Requires: pkgconfig @@ -66,9 +64,7 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool %find_lang %{name} rm -f %{buildroot}/%{_libdir}/*.la -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files -f %{name}.lang %doc AUTHORS ChangeLog TODO @@ -86,6 +82,9 @@ rm -f %{buildroot}/%{_libdir}/*.la %{_bindir}/qalc %changelog +* Wed Mar 07 2018 Rex Dieter - 2.0.0-6 +- .spec cleanup, BR: gcc-c++, use %%ldconfig_scriptlets + * Fri Feb 09 2018 Igor Gnatenko - 2.0.0-5 - Escape macros in %%changelog