Automatic update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/000release-packages?expand=0&rev=96
This commit is contained in:
parent
d117b9cc24
commit
c2db221d03
@ -404,12 +404,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
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/products.d
|
||||
@ -568,8 +568,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
|
||||
|
Loading…
Reference in New Issue
Block a user