Accepting request 954132 from devel:libraries:c_c++

- Update to release 0.12.5

OBS-URL: https://build.opensuse.org/request/show/954132
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libredwg?expand=0&rev=13
This commit is contained in:
Dominique Leuenberger 2022-02-14 21:36:08 +00:00 committed by Git OBS Bridge
commit d22d611161
6 changed files with 31 additions and 25 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:269629b0a4e5dc54e86790501200e4a6917eddb51f9303f75657adb088931690
size 16481194

View File

@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEEKJWogdNCcPq/6PdHtPYzOeZdZBQFAl+y9rsACgkQtPYzOeZd
ZBQYDwf/XvchsTCiPzN1/s3Akhs3bKo+ktq6jHbRDLrLSZaRYO8sY9AKmn54gT5/
lgTYmeYfIj63Y2YDEuUc7xJjwX538S7HT4ENmVcWifY03d4fjVXX+8gZs6NusQI1
2YnF/nuoVKZCYqELmjRRdbUAj7pZ1hP/xv72/phQ0InKK0jJY/l3jexcrdzXFxYM
BfMnDL8TdTBuq/4MMf6rx3eWry8FOtkOeeYaITFrjTLC8sLCbpax4uVEZTrS8rKL
wpq+oKa5jj/ecSon1wdLiacJIwKvFnWNNyceB3BthTL8zMY/FRA2aga32Gw6XiiP
4fTZIPVKWSgoFqE6iyOTFJJxwOXAKg==
=9q3x
-----END PGP SIGNATURE-----

3
libredwg-0.12.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4b5b38943e4a060bfee34a8542701b26102262610b1dd4dc58d76fadfb995106
size 18389790

View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEEKJWogdNCcPq/6PdHtPYzOeZdZBQFAmIANh0ACgkQtPYzOeZd
ZBQIfwf/a5K2Z0V5SpRhrCCARKJWnvOuTPC9asPMRqrwe3oXRcTPRS8VB1WZ4OmG
Y2EF2DNsbEjUrm+1/vheWonq1PbDVt5iwxeNXzzTsSNepHECuRz99dL0ZEUHyaHT
hF55GCv8PxUbyD9+TAKZl0yCH/IdLCEhdA8WuGxqYL6WC23B5qIzFkVbSPvw7KkO
47KNOnAHzhYTHbYHiaB+1h7Ikk00aZSIBbHsKvQUrV+Bkj6zNXr25lX/CQj2ykwy
2E6pRU21LH3DMD/RO4YY3FH/blF45YeoMp/0/j6qfuwmGGJ3r4mkAPZF2OXvH6VC
onccuXyA6/DVc+LYwhS8oGN5bdLzPw==
=Hcqb
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sun Feb 13 23:43:55 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.12.5
* Restricted accepted DXF objects to all stable and unstable
classes, minus MATERIAL, ARC_DIMENSION, SUN, PROXY*. I.e.
most unstable objects do not allow unknown DXF codes anymore.
This fixed most oss-fuzz errors.
-------------------------------------------------------------------
Tue Nov 17 00:00:50 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package libredwg
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%define lname libredwg0
Name: libredwg
Version: 0.11.1
Version: 0.12.5
Release: 0
Summary: A library to handle DWG files
License: GPL-3.0-or-later
@ -39,7 +39,7 @@ OpenDWG libraries. DWG is the native file format of AutoCAD.
Summary: Command line utilities for handling DWG file
Group: Productivity/File utilities
Requires(post): %install_info_prereq
Requires(preun): %install_info_prereq
Requires(preun):%install_info_prereq
# Both packages ship a %%_bindir/dwg2dxf
Conflicts: libdxfrw-tools
@ -76,17 +76,14 @@ OpenDWG libraries. DWG is the native file format of AutoCAD.
# Force-add some symvers so RPM can produce meaningful deps.
echo 'V_%version { global: *; };' >src/sv.sym
%configure --disable-static
make %{?_smp_mflags} libredwg_la_LDFLAGS=-Wl,-version-script,sv.sym libredwg_la_LIBADD=-lm
%make_build libredwg_la_LDFLAGS=-Wl,-version-script,sv.sym libredwg_la_LIBADD=-lm
%install
%make_install
find "%buildroot" -type f -name "*.la" -delete -print
%post tools
%install_info --info-dir="%_infodir" "%_infodir/LibreDWG.info*.gz"
%preun tools
%install_info_delete --info-dir="%_infodir" "%_infodir/LibreDWG.info*.gz"
b="%buildroot"
find "$b" -type f -name "*.la" -delete -print
# Just examples (and also in the wrong directory)
rm -fv "$b/usr/share/dwgadd.example" "$b/usr/share/load_dwg.py" "$b/usr/share/man/man5/dwgadd.5"*
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig