Index: Fedora/pcb-rnd.spec =================================================================== --- Fedora/pcb-rnd.spec (revision 17172) +++ Fedora/pcb-rnd.spec (revision 17173) @@ -1,6 +1,6 @@ # Build with --debug (1) or --symbols (0) %define debug 0 -%define plugindir %{_usr}/lib/%{name}/plugins +%define plugindir %{_prefix}/lib/%{name}/plugins #%%define svn 15165 Name: pcb-rnd Version: 2.0.0 @@ -228,9 +228,9 @@ --plugin-io_pcb --plugin-distalign --plugin-export_openscad --plugin-jostle \ --plugin-autoroute --plugin-io_autotrax --plugin-vendordrill --plugin-export_gerber \ %if %{debug} == 1 - prefix=/usr --debug + prefix=%{_prefix} --debug %else - prefix=/usr --symbols + prefix=%{_prefix} --symbols %endif %make_build @@ -253,8 +253,8 @@ %{_bindir}/pcb-strip %{_datadir}/%{name}/* %{_mandir}/man1/* -%exclude %{_usr}/lib/debug/* -%{_usr}/lib/%{name}/*.scm +%exclude %{_prefix}/lib/debug/* +%{_prefix}/lib/%{name}/*.scm %files auto %{plugindir}/autoplace.pup