From f339feaa7bcacef33ae96e87cce1778b2ed061dcf12816b4dd2385b5fe176c1c Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 14 Feb 2022 00:17:12 +0000 Subject: [PATCH] remove examples OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libredwg?expand=0&rev=32 --- libredwg.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libredwg.spec b/libredwg.spec index a72e00b..a4b7bcf 100644 --- a/libredwg.spec +++ b/libredwg.spec @@ -80,7 +80,10 @@ echo 'V_%version { global: *; };' >src/sv.sym %install %make_install -find "%buildroot" -type f -name "*.la" -delete -print +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