.spec cleanup, BR: gcc-c++, use %ldconfig_scriptlets

epel9
Rex Dieter 7 years ago
parent 2acf084957
commit 8e98a88a44

@ -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 <rdieter@fedoraproject.org> - 2.0.0-6
- .spec cleanup, BR: gcc-c++, use %%ldconfig_scriptlets
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.0-5
- Escape macros in %%changelog

Loading…
Cancel
Save