|
@@ -1,13 +1,14 @@
|
|
|
-%define date 20090501
|
|
|
+%define date 20110419
|
|
|
|
|
|
Summary: The basic required files for the root user's directory.
|
|
|
Summary(ja): rootユーザのためのデフォルトファイル
|
|
|
Name: rootfiles
|
|
|
-Version: 8.0
|
|
|
+Version: 8.1
|
|
|
Release: 1%{?_dist_release}
|
|
|
License: Public Domain
|
|
|
Group: System Environment/Base
|
|
|
Source: rootfiles-vine-%{date}.tar.bz2
|
|
|
+
|
|
|
BuildArchitectures: noarch
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
|
|
|
|
@@ -32,24 +33,15 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
%clean
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
-%pre
|
|
|
-# we used to put .Xclients in this package -- back it up if it's been
|
|
|
-# customized
|
|
|
-cd /root
|
|
|
-if [ -f .Xclients -a -x /bin/awk ]; then
|
|
|
- m=`md5sum .Xclients | awk '{ print $1 }'`
|
|
|
- if [ $m != "506b9496f2853fc9fee6c6b1c5f3ee48" ]; then
|
|
|
- mv .Xclients .Xclients.rpmsave
|
|
|
- fi
|
|
|
-fi
|
|
|
-
|
|
|
%files
|
|
|
%defattr(640,root,root)
|
|
|
-%attr(750,root,root) %dir /root/.xemacs
|
|
|
%attr(700,root,root) %dir /root/.gnupg
|
|
|
-%config /root/.[A-z]*
|
|
|
+%config /root/.[A-z0-9]*
|
|
|
|
|
|
%changelog
|
|
|
+* Tue Mar 19 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 8.1-1
|
|
|
+- cleanup dotfiles
|
|
|
+
|
|
|
* Fri May 01 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 8.0-1
|
|
|
- synced with etcskel-4.0.0
|
|
|
|