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

Loading…
Cancel
Save