rpms/setup/F-11 setup.spec,1.77,1.78
Ondrej Vasik
ovasik at fedoraproject.org
Thu Oct 8 14:13:27 UTC 2009
- Previous message (by thread): rpms/anaconda/F-12 .cvsignore, 1.676, 1.677 anaconda.spec, 1.826, 1.827 sources, 1.810, 1.811
- Next message (by thread): rpms/tigervnc/F-11 tigervnc10-rh510185.patch, NONE, 1.1 tigervnc10-rh524340.patch, NONE, 1.1 .cvsignore, 1.6, 1.7 sources, 1.6, 1.7 tigervnc.spec, 1.13, 1.14 tigervnc10-rh495457.patch, 1.1, NONE tigervnc10-rh508998.patch, 1.1, NONE tigervnc10-xorg-rh514528.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: ovasik
Update of /cvs/extras/rpms/setup/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29975
Modified Files:
setup.spec
Log Message:
adjust /dev/pts fstab line if broken by installation (#515521), use <lua> scriptlet for deleting files in correct way
Index: setup.spec
===================================================================
RCS file: /cvs/extras/rpms/setup/F-11/setup.spec,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -p -r1.77 -r1.78
--- setup.spec 10 Apr 2009 08:51:41 -0000 1.77
+++ setup.spec 8 Oct 2009 14:13:27 -0000 1.78
@@ -1,7 +1,7 @@
Summary: A set of system configuration and setup files
Name: setup
Version: 2.8.3
-Release: 1%{?dist}
+Release: 2%{?dist}
License: Public Domain
Group: System Environment/Base
URL: https://fedorahosted.org/setup/
@@ -50,13 +50,16 @@ rm -f %{buildroot}/etc/setup.spec
%clean
rm -rf %{buildroot}
-%postun
#throw away useless and dangerous update stuff until rpm will be able to
#handle it ( http://rpm.org/ticket/6 )
-rm -f /etc/passwd.rpmnew
-rm -f /etc/shadow.rpmnew
-rm -f /etc/group.rpmnew
-rm -f /etc/gshadow.rpmnew
+%post -p <lua>
+for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do
+ os.remove("/etc/"..name..".rpmnew")
+end
+if (os.execute("") == 0 and posix.access("/bin/sed", "x")) then
+ os.execute("sed -i -e 's/devpts defaults/devpts gid=5,mode=620/' /etc/fstab >/dev/null 2>&1 || :")
+end
+
%files
%defattr(-,root,root)
@@ -90,6 +93,11 @@ rm -f /etc/gshadow.rpmnew
%ghost %verify(not md5 size mtime) %config(noreplace,missingok) /etc/mtab
%changelog
+* Mon Oct 08 2009 Ondrej Vasik <ovasik at redhat.com> 2.8.3-2
+- adjust /dev/pts fstab line if broken by installation
+ (#515521)
+- use <lua> scriptlet for deleting files in correct way
+
* Fri Apr 10 2009 Ondrej Vasik <ovasik at redhat.com> 2.8.3-1
- do not disable coredumps in profile/csh.cshrc scripts,
coredumps already disabled in rawhide's RLIMIT_CORE(#495035)
- Previous message (by thread): rpms/anaconda/F-12 .cvsignore, 1.676, 1.677 anaconda.spec, 1.826, 1.827 sources, 1.810, 1.811
- Next message (by thread): rpms/tigervnc/F-11 tigervnc10-rh510185.patch, NONE, 1.1 tigervnc10-rh524340.patch, NONE, 1.1 .cvsignore, 1.6, 1.7 sources, 1.6, 1.7 tigervnc.spec, 1.13, 1.14 tigervnc10-rh495457.patch, 1.1, NONE tigervnc10-rh508998.patch, 1.1, NONE tigervnc10-xorg-rh514528.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list