added disttag, fixed few rpmlint issues, added ncurses requirement(#469390)

This commit is contained in:
Ondrej Vasik 2008-11-14 07:41:34 +00:00
parent 3f107aa7a4
commit 99d9597136

View File

@ -1,17 +1,19 @@
Summary: The basic required files for the root user's directory.
Summary: The basic required files for the root user's directory
Name: rootfiles
Version: 8.1
Release: 1.1.1
Release: 2%{?dist}
License: Public Domain
Group: System Environment/Base
Requires: ncurses
Source0: dot-bashrc
Source1: dot-bash_profile
Source2: dot-bash_logout
Source3: dot-tcshrc
Source4: dot-cshrc
BuildRoot: %{_tmppath}/%{name}%{name}-root
BuildArchitectures: noarch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
%description
The rootfiles package contains basic required files that are placed
@ -25,7 +27,7 @@ users' home directories.
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/root
for file in %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} ; do
for file in %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} ; do
f=`basename $file`
install -m 644 $file $RPM_BUILD_ROOT/root/${f/dot-/.}
done
@ -34,10 +36,15 @@ done
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%defattr(-,root,root,-)
%config(noreplace) /root/.[A-Za-z]*
%changelog
* Fri Oct 31 2008 Ondrej Vasik <ovasik@redhat.com> - 8.1-2
- Add dist tag, fix a few rpmlint issues, rebuild due to
wrong vendor (#451229)
- Added ncurses requirement(#469390)
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 8.1-1.1.1
- rebuild
@ -58,7 +65,7 @@ rm -rf $RPM_BUILD_ROOT
- rebuilt
* Wed Dec 11 2002 Tim Powers <timp@redhat.com> 7.2-5
- rebuild
- rebuild
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild
@ -88,17 +95,17 @@ rm -rf $RPM_BUILD_ROOT
* Tue Apr 18 2000 Bill Nottingham <notting@redhat.com>
- mv .Xdefaults -> .Xresources (#10623)
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
- auto rebuild in the new build environment (release 5)
* Tue Jan 12 1999 Jeff Johnson <jbj@redhat.com>
- add %clean (#719)
- add %%clean (#719)
* Tue Dec 29 1998 Cristian Gafton <gafton@redhat.com>
- build for 6.0
* Wed Oct 9 1998 Bill Nottingham <notting@redhat.com>
- remove /root from %files (it's in filesystem)
- remove /root from %%files (it's in filesystem)
* Sun Aug 23 1998 Jeff Johnson <jbj@redhat.com>
- portability fix for .cshrc (problem #235)
@ -108,5 +115,5 @@ rm -rf $RPM_BUILD_ROOT
- made a noarch package
* Thu Mar 20 1997 Erik Troan <ewt@redhat.com>
- Removed .Xclients and .Xsession from package, added %pre to back up old
- Removed .Xclients and .Xsession from package, added %%pre to back up old
.Xclients if necessary.