Blame SPECS/rootfiles.spec

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