diff --git a/libredwg-0.11.1.tar.gz b/libredwg-0.11.1.tar.gz deleted file mode 100644 index 9e45f10..0000000 --- a/libredwg-0.11.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:269629b0a4e5dc54e86790501200e4a6917eddb51f9303f75657adb088931690 -size 16481194 diff --git a/libredwg-0.11.1.tar.gz.sig b/libredwg-0.11.1.tar.gz.sig deleted file mode 100644 index 96780ed..0000000 --- a/libredwg-0.11.1.tar.gz.sig +++ /dev/null @@ -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----- diff --git a/libredwg-0.12.5.tar.gz b/libredwg-0.12.5.tar.gz new file mode 100644 index 0000000..ca8a3cf --- /dev/null +++ b/libredwg-0.12.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b5b38943e4a060bfee34a8542701b26102262610b1dd4dc58d76fadfb995106 +size 18389790 diff --git a/libredwg-0.12.5.tar.gz.sig b/libredwg-0.12.5.tar.gz.sig new file mode 100644 index 0000000..ecefe8f --- /dev/null +++ b/libredwg-0.12.5.tar.gz.sig @@ -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----- diff --git a/libredwg.changes b/libredwg.changes index 70e5776..f097b80 100644 --- a/libredwg.changes +++ b/libredwg.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun Feb 13 23:43:55 UTC 2022 - Jan Engelhardt + +- 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 diff --git a/libredwg.spec b/libredwg.spec index 19aa48e..a4b7bcf 100644 --- a/libredwg.spec +++ b/libredwg.spec @@ -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