rpms/xorg-x11-xdm/F-11 xorg-x11-xdm.spec,1.42,1.43

Matej Cepl mcepl at fedoraproject.org
Thu May 14 12:38:55 UTC 2009


Author: mcepl

Update of /cvs/pkgs/rpms/xorg-x11-xdm/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26856

Modified Files:
	xorg-x11-xdm.spec 
Log Message:
Create /var/lib/xdm to make auth work (bug 500704)


Index: xorg-x11-xdm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-xdm/F-11/xorg-x11-xdm.spec,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -p -r1.42 -r1.43
--- xorg-x11-xdm.spec	14 Mar 2009 22:51:00 -0000	1.42
+++ xorg-x11-xdm.spec	14 May 2009 12:38:24 -0000	1.43
@@ -3,7 +3,7 @@
 Summary: X.Org X11 xdm - X Display Manager
 Name: xorg-x11-%{pkgname}
 Version: 1.1.6
-Release: 7%{?dist}
+Release: 8%{?dist}
 # NOTE: Remove Epoch line if/when the package ever gets renamed.
 Epoch: 1
 License: MIT
@@ -116,6 +116,10 @@ install -m 755 %{SOURCE1} $RPM_BUILD_ROO
 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/X11/xdm/Xsession
 (cd $RPM_BUILD_ROOT%{_sysconfdir}/X11/xdm; ln -sf ../xinit/Xsession .)
 
+# we need to crate /var/lib/xdm to make authorization work (bug
+# 500704)
+mkdir -p $RPM_BUILD_ROOT%{_sharedstatedir}/xdm
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -130,7 +134,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_sysconfdir}/X11/xdm/Xaccess
 %{_sysconfdir}/X11/xdm/Xresources
 %{_sysconfdir}/X11/xdm/Xservers
-%{_sysconfdir}/X11/xdm/xdm-config
+%config %{_sysconfdir}/X11/xdm/xdm-config
 # NOTE: In Fedora Core 4 and earlier, most of these config files and scripts
 # were kept in the "xinitrc" package as forked copies, however they were
 # quite out of date, and did not contain anything useful, so we now ship the
@@ -156,11 +160,15 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/xdm/pixmaps/xorg-bw.xpm
 %{_datadir}/xdm/pixmaps/xorg.xpm
 %dir %{_libdir}/X11/xdm
+%dir %{_sharedstatedir}/xdm
 %{_libdir}/X11/xdm/chooser
 %{_libdir}/X11/xdm/libXdmGreet.so
 %{_mandir}/man1/*.1*
 
 %changelog
+* Thu May 14 2009 Matěj Cepl <mcepl at redhat.com> - 1:1.1.6-8
+- Create /var/lib/xdm to make authorization work (bug 500704)
+
 * Sat Mar 14 2009 Matěj Cepl <mcepl at redhat.com> - 1.1.6-7
 - Make XDM work with SELinux (fix bug 388431)
 




More information about the fedora-extras-commits mailing list