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