eb045e
Summary: The basic required files for the root user's directory
eb045e
Name: rootfiles
eb045e
Version: 8.1
eb045e
Release: 31%{?dist}
eb045e
License: Public Domain
eb045e
eb045e
# This is a Red Hat maintained package which is specific to
eb045e
# our distribution.  Thus the source is only available from
eb045e
# within this srpm.
eb045e
Source0: dot-bashrc
eb045e
Source1: dot-bash_profile
eb045e
Source2: dot-bash_logout
eb045e
Source3: dot-tcshrc
eb045e
Source4: dot-cshrc
eb045e
eb045e
BuildArch: noarch
eb045e
eb045e
%description
eb045e
The rootfiles package contains basic required files that are placed
eb045e
in the root user's account.  These files are basically the same
eb045e
as those in /etc/skel, which are placed in regular
eb045e
users' home directories.
eb045e
eb045e
%prep
eb045e
eb045e
%install
eb045e
mkdir -p $RPM_BUILD_ROOT/root
eb045e
eb045e
for file in %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} ; do
eb045e
  f=`basename $file`
eb045e
  install -p -m 644 $file $RPM_BUILD_ROOT/root/${f/dot-/.}
eb045e
done
eb045e
eb045e
%posttrans
eb045e
if [ $1 -eq 0 ] ; then
eb045e
  #copy recursively the content, but do not overwrite the original files provided by rootfiles package
eb045e
  cp -ndr --preserve=ownership,timestamps /etc/skel/. /root/ || :
eb045e
fi
eb045e
eb045e
%files
eb045e
%config(noreplace) /root/.[A-Za-z]*
eb045e
eb045e
%changelog
eb045e
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 8.1-31
eb045e
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
eb045e
  Related: rhbz#1991688
eb045e
eb045e
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 8.1-30
eb045e
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
eb045e
eb045e
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 8.1-29
eb045e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
eb045e
eb045e
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.1-28
eb045e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
eb045e
eb045e
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.1-27
eb045e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
eb045e
eb045e
* Mon Nov 11 2019 Till Maas <opensource@till.name> - 8.1-26
eb045e
- Sync in current files from bash package:
eb045e
  https://src.fedoraproject.org/rpms/bash/c/739b272e5f5d10cf27a847a44d09eb7f4b6ec89b?branch=master
eb045e
  https://src.fedoraproject.org/rpms/bash/c/329df36f8bbc303be618f06562ec2c4eebfd1d29?branch=master
eb045e
  https://src.fedoraproject.org/rpms/bash/c/e3b3cd9cec4a3bd12a792536c0ea131f5ba5bd72?branch=master
eb045e
eb045e
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.1-25
eb045e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
eb045e
eb045e
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.1-24
eb045e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
eb045e
eb045e
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 8.1-23
eb045e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
eb045e
eb045e
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 8.1-22
eb045e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
eb045e
eb045e
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 8.1-21
eb045e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
eb045e
eb045e
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 8.1-20
eb045e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
eb045e
eb045e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 8.1-19
eb045e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
eb045e
eb045e
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.1-18
eb045e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
eb045e
eb045e
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.1-17
eb045e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
eb045e
eb045e
* Wed Dec 04 2013 Ondrej Vasik <ovasik@redhat.com> 0.1-16
eb045e
- actually --no-preserve doesn't work for this case...
eb045e
 - changing to --preserve
eb045e
eb045e
* Wed Dec 04 2013 Ondrej Vasik <ovasik@redhat.com> 0.1-15
eb045e
- fix the posttrans scriptlet to not change the /root
eb045e
  permissions (#1037688)
eb045e
eb045e
* Fri Sep 20 2013 Ondrej Vasik <ovasik@redhat.com> 0.1-14
eb045e
- fix the posttrans copying (thanks O.Poplawski)
eb045e
eb045e
* Wed Sep 18 2013 Ondrej Vasik <ovasik@redhat.com> 0.1-13
eb045e
- copy content of /etc/skel directory for root as posstrans,
eb045e
  don't overwrite  existing files (#999114)
eb045e
eb045e
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.1-11
eb045e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
eb045e
eb045e
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.1-10
eb045e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
eb045e
eb045e
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.1-9
eb045e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
eb045e
eb045e
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.1-8
eb045e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
eb045e
eb045e
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.1-7
eb045e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
eb045e
eb045e
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.1-6
eb045e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
eb045e
eb045e
* Mon Mar 30 2009 Ondrej Vasik <ovasik@redhat.com> - 8.1-5
eb045e
- removed clear from dot-bash_logout (synchronized with bash,
eb045e
  related to #429406)
eb045e
- removed unset USERNAME from dot-bash_profile (synchronized with
eb045e
  bash, related to #196735)
eb045e
eb045e
* Mon Mar 23 2009 Phil Knirsch <pknirsch@redhat.com> - 8.1-4
eb045e
- Added the "we-are-upstream" comments according to Fedora review (#226376)
eb045e
- Added -p option to install to preserve timestamps (#226376)
eb045e
eb045e
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.1-3
eb045e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
eb045e
eb045e
* Fri Oct 31 2008 Ondrej Vasik <ovasik@redhat.com> - 8.1-2
eb045e
- Add dist tag, fix a few rpmlint issues, rebuild due to
eb045e
  wrong vendor (#451229)
eb045e
- Added ncurses requirement(#469390)
eb045e
eb045e
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 8.1-1.1.1
eb045e
- rebuild
eb045e
eb045e
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
eb045e
- rebuilt
eb045e
eb045e
* Fri Dec  3 2004 Bill Nottingham <notting@redhat.com> 8.1-1
eb045e
- restore tcsh prompt into .tcshrc (#141782)
eb045e
eb045e
* Wed Sep 22 2004 Bill Nottingham <notting@redhat.com> 8-1
eb045e
- sync files with current /etc/skel stuff
eb045e
- remove Xresources (#75666)
eb045e
eb045e
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
eb045e
- rebuilt
eb045e
eb045e
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
eb045e
- rebuilt
eb045e
eb045e
* Wed Dec 11 2002 Tim Powers <timp@redhat.com> 7.2-5
eb045e
- rebuild
eb045e
eb045e
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
eb045e
- automated rebuild
eb045e
eb045e
* Thu May 23 2002 Tim Powers <timp@redhat.com>
eb045e
- automated rebuild
eb045e
eb045e
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
eb045e
- automated rebuild
eb045e
eb045e
* Thu Jul  5 2001 Preston Brown <pbrown@redhat.com> 7.2-1
eb045e
- /sbin stuff out of PATH, moved into /etc/profile
eb045e
eb045e
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
eb045e
- automatic rebuild
eb045e
eb045e
* Tue Jul 11 2000 Preston Brown <pbrown@redhat.com>
eb045e
- fix .tcshrc
eb045e
eb045e
* Mon Jul  3 2000 Jakub Jelinek <jakub@redhat.com>
eb045e
- don't assume ASCII ordering in glob pattern
eb045e
eb045e
* Sat Jun 10 2000 Bill Nottingham <notting@redhat.com>
eb045e
- rebuild
eb045e
- fix some path stuff (#11191)
eb045e
eb045e
* Tue Apr 18 2000 Bill Nottingham <notting@redhat.com>
eb045e
- mv .Xdefaults -> .Xresources (#10623)
eb045e
eb045e
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
eb045e
- auto rebuild in the new build environment (release 5)
eb045e
eb045e
* Tue Jan 12 1999 Jeff Johnson <jbj@redhat.com>
eb045e
- add %%clean (#719)
eb045e
eb045e
* Tue Dec 29 1998 Cristian Gafton <gafton@redhat.com>
eb045e
- build for 6.0
eb045e
eb045e
* Wed Oct  9 1998 Bill Nottingham <notting@redhat.com>
eb045e
- remove /root from %%files (it's in filesystem)
eb045e
eb045e
* Sun Aug 23 1998 Jeff Johnson <jbj@redhat.com>
eb045e
- portability fix for .cshrc (problem #235)
eb045e
- change version to be same as release.
eb045e
eb045e
* Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
eb045e
- made a noarch package
eb045e
eb045e
* Thu Mar 20 1997 Erik Troan <ewt@redhat.com>
eb045e
- Removed .Xclients and .Xsession from package, added %%pre to back up old
eb045e
  .Xclients if necessary.