Minor spec cleanups

epel9 imports/e9/liblqr-1-0.4.2-19.el9
Neal Gompa 3 years ago
parent 646dc99460
commit 3da36f1796

@ -1,6 +1,6 @@
Name: liblqr-1
Version: 0.4.2
Release: 18%{?dist}
Release: 19%{?dist}
Summary: LiquidRescale library
License: GPLv3
URL: http://liquidrescale.wikidot.com/
@ -16,8 +16,7 @@ technique.
%package devel
Summary: LiquidRescale library development kit
License: GPLv3
Requires: %{name} = %{version}-%{release}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: glib2-devel, pkgconfig
%description devel
@ -25,22 +24,19 @@ The libqr-devel package contains the header files
needed to develop applications with liblqr
%prep
%setup -q
%autosetup
%build
export LDFLAGS="`pkg-config --libs glib-2.0` -lm"
export LDFLAGS="%{build_ldflags} `pkg-config --libs glib-2.0` -lm"
%configure
%{__make} %{?_smp_mflags}
%make_build
%install
%{__make} install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%make_install
# remove .la files
find $RPM_BUILD_ROOT -name \*.la -exec %{__rm} -f {} \;
# Fedora MUST
%ldconfig_scriptlets
%files
%doc README ChangeLog COPYING
%{_libdir}/liblqr-1.so.0.3.2
@ -54,6 +50,9 @@ find $RPM_BUILD_ROOT -name \*.la -exec %{__rm} -f {} \;
%changelog
* Thu Jan 27 2022 Neal Gompa <ngompa@fedoraproject.org> - 0.4.2-19
- Minor spec cleanups
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

Loading…
Cancel
Save