From a67b920caded43b530fb2c162505dadffc9b013b0d61a4c3e729c128e3a7198b Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 13 Aug 2020 06:32:06 +0000 Subject: [PATCH] feed through spec-beautifier OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libredwg?expand=0&rev=26 --- libredwg.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libredwg.spec b/libredwg.spec index 2c632ca..67a9487 100644 --- a/libredwg.spec +++ b/libredwg.spec @@ -29,7 +29,7 @@ Source: https://ftp.gnu.org/pub/gnu/libredwg/%name-%version.tar.xz Source2: https://ftp.gnu.org/pub/gnu/libredwg/%name-%version.tar.xz.sig Source3: http://savannah.gnu.org/people/viewgpg.php?user_id=101103#/%name.keyring Source4: %name-rpmlintrc -BuildRequires: pkgconfig +BuildRequires: pkg-config %description GNU LibreDWG is a C library to handle DWG files. It can replace the @@ -75,13 +75,12 @@ OpenDWG libraries. DWG is the native file format of AutoCAD. # No management of SO version despite ABI breaking changes: # Force-add some symvers so RPM can produce meaningful deps. echo 'V_%version { global: *; };' >src/sv.sym -%configure \ - --disable-static +%configure --disable-static make %{?_smp_mflags} libredwg_la_LDFLAGS=-Wl,-version-script,sv.sym libredwg_la_LIBADD=-lm %install %make_install -find %{buildroot} -type f -name "*.la" -delete -print +find "%buildroot" -type f -name "*.la" -delete -print %post tools %install_info --info-dir="%_infodir" "%_infodir/LibreDWG.info*.gz"