diff --git a/openSUSE-release.spec.in b/openSUSE-release.spec.in index cbeebeb..dae577c 100644 --- a/openSUSE-release.spec.in +++ b/openSUSE-release.spec.in @@ -234,12 +234,12 @@ fi # fate#319341, make openSUSE-release own YaST license files. TODO: # get rid of /etc/YaST2/licenses -install -D -d -m 755 "%{buildroot}%{_sysconfdir}/YaST2/licenses/base" +install -D -d -m 755 "%{buildroot}%_defaultlicensedir/product/base" install -D -d -m 755 "%{buildroot}%_defaultlicensedir" cp -a license "%{buildroot}%_defaultlicensedir/%name" pushd license for i in *; do - ln -s "%_defaultlicensedir/%name/$i" %{buildroot}%{_sysconfdir}/YaST2/licenses/base/$i + ln -s "%_defaultlicensedir/%name/$i" %{buildroot}%_defaultlicensedir/product/base/$i done ___CREATE_PRODUCT_FILES___ @@ -272,8 +272,8 @@ fi %files %defattr(644,root,root,755) -%dir %{_sysconfdir}/YaST2/licenses -%{_sysconfdir}/YaST2/licenses/base +%dir %_defaultlicensedir/product +%_defaultlicensedir/product/base %license license/* %{_sysconfdir}/os-release %{_libexecdir}/os-release