This commit is contained in:
parent
d46550acf8
commit
612f87d215
@ -125,7 +125,7 @@ translation-update-upstream
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
%make_install
|
||||
# install startup script and xsession file
|
||||
install -d -m755 %{buildroot}%{_bindir}
|
||||
install -m755 %{SOURCE1} %{buildroot}%{_bindir}/gnome
|
||||
@ -157,7 +157,6 @@ ln -s %{_sysconfdir}/alternatives/default-waylandsession.desktop %{buildroot}%{_
|
||||
--remove default-xsession.desktop %{_datadir}/xsessions/gnome.desktop
|
||||
|
||||
%files
|
||||
%defattr (-, root, root)
|
||||
%{_bindir}/gnome
|
||||
%{_datadir}/xsessions/default.desktop
|
||||
%{_datadir}/xsessions/gnome.desktop
|
||||
@ -165,7 +164,6 @@ ln -s %{_sysconfdir}/alternatives/default-waylandsession.desktop %{buildroot}%{_
|
||||
%ghost %{_sysconfdir}/alternatives/default-xsession.desktop
|
||||
|
||||
%files default-session
|
||||
%defattr (-, root, root)
|
||||
%{_datadir}/gnome-session/sessions/gnome.session
|
||||
%{_datadir}/gnome-session/sessions/gnome-dummy.session
|
||||
|
||||
@ -179,7 +177,6 @@ ln -s %{_sysconfdir}/alternatives/default-waylandsession.desktop %{buildroot}%{_
|
||||
--remove default-waylandsession.desktop %{_datadir}/wayland-sessions/gnome.desktop
|
||||
|
||||
%files wayland
|
||||
%defattr (-, root, root)
|
||||
%dir %{_datadir}/wayland-sessions
|
||||
%{_datadir}/wayland-sessions/default.desktop
|
||||
%{_datadir}/wayland-sessions/gnome.desktop
|
||||
@ -189,8 +186,8 @@ ln -s %{_sysconfdir}/alternatives/default-waylandsession.desktop %{buildroot}%{_
|
||||
%endif
|
||||
|
||||
%files core
|
||||
%defattr (-, root, root)
|
||||
%doc AUTHORS COPYING ChangeLog NEWS README
|
||||
%license COPYING
|
||||
%doc AUTHORS ChangeLog NEWS README
|
||||
%{_bindir}/gnome-session
|
||||
%{_bindir}/gnome-session-inhibit
|
||||
%{_bindir}/gnome-session-quit
|
||||
@ -210,6 +207,5 @@ ln -s %{_sysconfdir}/alternatives/default-waylandsession.desktop %{buildroot}%{_
|
||||
%{_datadir}/gnome-session/hardware-compatibility
|
||||
|
||||
%files lang -f %{name}-3.0.lang
|
||||
%defattr(-,root,root)
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user