From 3da36f17966dc34e185e930690aca821fda25498 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Thu, 27 Jan 2022 11:08:48 -0500 Subject: [PATCH] Minor spec cleanups --- liblqr-1.spec | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/liblqr-1.spec b/liblqr-1.spec index 87d14ab..9129e49 100644 --- a/liblqr-1.spec +++ b/liblqr-1.spec @@ -1,13 +1,13 @@ Name: liblqr-1 Version: 0.4.2 -Release: 18%{?dist} +Release: 19%{?dist} Summary: LiquidRescale library License: GPLv3 URL: http://liquidrescale.wikidot.com/ Source0: http://liblqr.wikidot.com/local--files/en:download-page/%{name}-%{version}.tar.bz2 BuildRequires: gcc BuildRequires: glib2-devel -BuildRequires: make +BuildRequires: make %description The LiquidRescale (lqr) library provides a C/C++ API for @@ -15,9 +15,8 @@ performing non-uniform resizing of images by the seam-carving technique. %package devel -Summary: LiquidRescale library development kit -License: GPLv3 -Requires: %{name} = %{version}-%{release} +Summary: LiquidRescale library development kit +Requires: %{name}%{?_isa} = %{version}-%{release} Requires: glib2-devel, pkgconfig %description devel @@ -25,23 +24,20 @@ 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 +%files %doc README ChangeLog COPYING %{_libdir}/liblqr-1.so.0.3.2 %{_libdir}/liblqr-1.so.0 @@ -54,6 +50,9 @@ find $RPM_BUILD_ROOT -name \*.la -exec %{__rm} -f {} \; %changelog +* Thu Jan 27 2022 Neal Gompa - 0.4.2-19 +- Minor spec cleanups + * Thu Jan 20 2022 Fedora Release Engineering - 0.4.2-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild