rpms/xorg-x11-xdm/F-10 xorg-x11-xdm.spec,1.43,1.44

Matej Cepl mcepl at fedoraproject.org
Thu May 14 12:36:28 UTC 2009


Author: mcepl

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

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-10/xorg-x11-xdm.spec,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -p -r1.43 -r1.44
--- xorg-x11-xdm.spec	14 Mar 2009 23:04:29 -0000	1.43
+++ xorg-x11-xdm.spec	14 May 2009 12:35:57 -0000	1.44
@@ -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
@@ -120,6 +120,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
 
@@ -134,7 +138,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
@@ -160,11 +164,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.6-8
+- Create /var/lib/xdm to make authorization work (bug 500704)
+
 * Sun Mar 15 2009 Matěj Cepl <mcepl at redhat.com> - 1.1.6-7
 - Make XDM work with SELinux (fix bug 388431)
 




More information about the scm-commits mailing list