Blame SPECS/rootfiles.spec

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