a90d3a
%define release_name Leonidas
7506be
%define dist_version 11
cd0014
46648c
Summary:	Fedora release files
cd0014
Name:		fedora-release
9f7ff2
Version:	11
9f7ff2
Release:	1
e3ebaa
License:	GPLv2
cd0014
Group:		System Environment/Base
cd0014
URL:		http://fedoraproject.org
0b75d9
Source:		%{name}-%{version}.tar.gz
cd0014
Obsoletes:	redhat-release
cd0014
Provides:	redhat-release
e3ebaa
Provides:	system-release = %{version}-%{release}
cd0014
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cd0014
BuildArch:	noarch
1184e5
1184e5
%description
dc75ef
Fedora release files such as yum configs and various /etc/ files that
145d4c
define the release.
1184e5
1184e5
%prep
145d4c
%setup -q
1184e5
1184e5
%build
1184e5
1184e5
%install
1184e5
rm -rf $RPM_BUILD_ROOT
145d4c
install -d $RPM_BUILD_ROOT/etc
46648c
echo "Fedora release %{version} (%{release_name})" > $RPM_BUILD_ROOT/etc/fedora-release
2b6940
echo "cpe:/o:fedoraproject:fedora:%{version}" > $RPM_BUILD_ROOT/etc/system-release-cpe
145d4c
cp -p $RPM_BUILD_ROOT/etc/fedora-release $RPM_BUILD_ROOT/etc/issue
8e9f57
echo "Kernel \r on an \m (\l)" >> $RPM_BUILD_ROOT/etc/issue
145d4c
cp -p $RPM_BUILD_ROOT/etc/issue $RPM_BUILD_ROOT/etc/issue.net
1184e5
echo >> $RPM_BUILD_ROOT/etc/issue
1184e5
ln -s fedora-release $RPM_BUILD_ROOT/etc/redhat-release
e3ebaa
ln -s fedora-release $RPM_BUILD_ROOT/etc/system-release
1184e5
145d4c
install -d -m 755 $RPM_BUILD_ROOT/etc/pki/rpm-gpg
f13ec7
f13ec7
install -m 644 RPM-GPG-KEY* $RPM_BUILD_ROOT/etc/pki/rpm-gpg/
f13ec7
f13ec7
# Install all the keys, link the primary keys to primary arch files
f13ec7
# and to compat generic location
f13ec7
pushd $RPM_BUILD_ROOT/etc/pki/rpm-gpg/
f13ec7
for arch in i386 x86_64 ppc ppc64
f13ec7
  do
7786d5
  ln -s RPM-GPG-KEY-fedora-%{dist_version}-primary RPM-GPG-KEY-fedora-$arch
Elliot Lee 8ba1f0
done
7786d5
ln -s RPM-GPG-KEY-fedora-%{dist_version}-primary RPM-GPG-KEY-fedora
f13ec7
popd
Elliot Lee 8ba1f0
145d4c
install -d -m 755 $RPM_BUILD_ROOT/etc/yum.repos.d
1184e5
for file in fedora*repo ; do
1184e5
  install -m 644 $file $RPM_BUILD_ROOT/etc/yum.repos.d
1184e5
done
1184e5
d77301
# Set up the dist tag macros
9dae51
install -d -m 755 $RPM_BUILD_ROOT/etc/rpm
d77301
cat >> $RPM_BUILD_ROOT/etc/rpm/macros.dist << EOF
d77301
# dist macros.
d77301
d77301
%%fedora		%{dist_version}
d77301
%%dist		.fc%{dist_version}
d77301
%%fc%{dist_version}		1
d77301
EOF
d77301
1184e5
%clean
1184e5
rm -rf $RPM_BUILD_ROOT
1184e5
1184e5
%files
145d4c
%defattr(-,root,root,-)
d397f9
%doc GPL 
d397f9
%config %attr(0644,root,root) /etc/fedora-release
1184e5
/etc/redhat-release
e3ebaa
/etc/system-release
f13ec7
%config %attr(0644,root,root) /etc/system-release-cpe
1184e5
%dir /etc/yum.repos.d
1184e5
%config(noreplace) /etc/yum.repos.d/*
364af5
%config(noreplace) %attr(0644,root,root) /etc/issue
364af5
%config(noreplace) %attr(0644,root,root) /etc/issue.net
d397f9
%config %attr(0644,root,root) /etc/rpm/macros.dist
69b200
%dir /etc/pki/rpm-gpg
Elliot Lee 8ba1f0
/etc/pki/rpm-gpg/*
d5fe40
d5fe40
%changelog
9f7ff2
* Mon May 11 2009 Jesse Keating <jkeating@redhat.com> - 11-1
9f7ff2
- First attempt at release candidate.
9f7ff2
- Drop the compose configs, that's in spin-kickstarts
9f7ff2
- Enable fedora and updates repo, disable rawhide
9f7ff2
11daa1
* Tue Apr 21 2009 Jesse Keating <jkeating@redhat.com> - 10.93-2
11daa1
- Drop reference to the "test" key, we only do one key per release now
11daa1
a90d3a
* Tue Apr 14 2009 Jesse Keating <jkeating@redhat.com> - 10.93-1
a90d3a
- Bump for F11 Preview
a90d3a
- Add the release name
a90d3a
7059e6
* Mon Mar 09 2009 Jesse Keating <jkeating@redhat.com> - 10.92-1
7059e6
- Bump for F11 Beta
7059e6
- Add the (giant) F11 Test key
7059e6
c9de30
* Thu Mar 05 2009 Jesse Keating <jkeating@redhat.com> - 10.91-4
c9de30
- Drop req on fedora-release-notes (#483018)
c9de30
2b6940
* Tue Mar 03 2009 Jesse Keating <jkeating@redhat.com> - 10.91-3
2b6940
- Move metalink urls to mirrorlist for helping anaconda
2b6940
c524d6
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.91-2
c524d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c524d6
2b6940
* Wed Feb 04 2009 Jesse Keating <jkeating@redhat.com> - 10.91-1
2b6940
- Use the correct CPE name (#481287)
2b6940
056422
* Wed Jan 21 2009 Jesse Keating <jkeating@redhat.com> - 10.91-1
056422
- Update for Fedora 11 Alpha
056422
- Use metalink urls to get mirror information
056422
7506be
* Wed Oct 01 2008 Jesse Keating <jkeating@redhat.com> - 10.90-1
7506be
- Initial build for Fedora 11.
7506be
7786d5
* Mon Sep 15 2008 Jesse Keating <jkeating@redhat.com> - 9.91-1
7786d5
- Update for Fedora 10 beta
7786d5
- Add the new keys for F10
7786d5
- Remove F8/9 keys
7786d5
- Update compose configs
7786d5
- Clarify rawhide repo definition
7786d5
f13ec7
* Wed Jun 11 2008 Jesse Keating <jkeating@redhat.com> - 9.90-2
f13ec7
- Package up the ia64 key as the first secondary arch
f13ec7
- Mark config files correctly
f13ec7
- Stop using download.fedora.redhat.com and use download.fedoraproject.org instead
f13ec7
346d9f
* Mon Mar 31 2008 Jesse Keating <jkeating@redhat.com> - 9.90-1
346d9f
- Update for Fedora 10 rawhide.
346d9f
8e9f57
* Thu Mar 13 2008 Jesse Keating <jkeating@redhat.com> - 8.92-1
8e9f57
- Update for 9 Beta
8e9f57
- Update the compose files for 9 Beta
8e9f57
- Add system-release-cpe (from Mark Cox)
8e9f57
- Add terminal to issue (#436387)
8e9f57
- Rename development to rawhide where appropriate.
8e9f57
9edc2e
* Wed Oct 10 2007 Jesse Keating <jkeating@redhat.com> - 8.90-3
9edc2e
- Bump for cvs oopsie
9edc2e
ab14c2
* Wed Oct 10 2007 Jesse Keating <jkeating@redhat.com> - 8.90-2
ab14c2
- Add the gpg info to the devel repo
ab14c2
2115f0
* Wed Oct 03 2007 Jesse Keating <jkeating@redhat.com> - 8.90-1
2115f0
- First build for Fedora 9 development.
2115f0
f16d6c
* Fri Sep 28 2007 Jesse Keating <jkeating@redhat.com> - 7.92-1
f16d6c
- Bump for F8 Test2.
f16d6c
- Package up the compose kickstart files
f16d6c
62785c
* Fri Sep 14 2007 Jesse Keating <jkeating@redhat.com> - 7.91-2
62785c
- Use failovermethod=priority in yum configs (243698)
62785c
e3ebaa
* Thu Aug 30 2007 Jesse Keating <jkeating@redhat.com> - 7.91-1
e3ebaa
- Provide system-release, useful for spinoffs.
e3ebaa
- Also link system-release to fedora-release for file level checks
e3ebaa
- Bump for F8 Test2
e3ebaa
- Fix license tag
e3ebaa
3ee533
* Thu Jul 27 2007 Jesse Keating <jkeating@redhat.com> - 7.90-1
3ee533
- Bump for F8 Test1
3ee533
d397f9
* Thu Jun 28 2007 Jesse Keating <jkeating@redhat.com> - 7.89-3
d397f9
- Cleanups from review
d397f9
- Don't (noreplace) the dist tag macro file
d397f9
d77301
* Tue Jun 19 2007 Jesse Keating <jkeating@redhat.com> - 7.89-2
d77301
- Define the dist macros in this package since we define everyting else here
d77301
b42c08
* Wed May 30 2007 Jesse Keating <jkeating@redhat.com> - 7.89-1
b42c08
- And we're back to rawhide.  Re-enable devel repos
b42c08
b42c08
* Thu May 24 2007 Jesse Keating <jkeating@redhat.com> - 7-3
b42c08
- We have a name!
b42c08
- Require the newer release notes
b42c08
b42c08
* Mon May 21 2007 Jesse Keating <jkeating@redhat.com> - 7-2
b42c08
- Use Everything in the non-mirror URL to the release tree
b42c08
b42c08
* Mon May 21 2007 Jesse Keating <jkeating@redhat.com> - 7-1
b42c08
- First build for Fedora 7
b42c08
- Remove Extras repos (YAY!)
b42c08
- Remove references to "core" in repo files.
b42c08
- Adjust repo files for new mirror structure
b42c08
- Remove Legacy repo
b42c08
cf8f81
* Fri Apr 20 2007 Jesse Keating <jkeating@redhat.com> - 6.93-1
cf8f81
- Bump for Test 4
cf8f81
dc75ef
* Mon Mar 19 2007 Jesse Keating <jkeating@redhat.com> - 6.92-1
dc75ef
- Bump for Test 3
dc75ef
- No more eula in fedora-release, moved to firstboot
dc75ef
145d4c
* Fri Feb 23 2007 Jesse Keating <jkeating@redhat.com> - 6.91-1
145d4c
- Bump for Test 2
145d4c
145d4c
* Tue Feb 13 2007 Jesse Keating <jkeating@redhat.com> - 6.90-4
145d4c
- Specfile cleanups
145d4c
e1f4ad
* Mon Feb 05 2007 Jesse Keating <jkeating@redhat.com> - 6.90-3
e1f4ad
- Drop the legacy repo file.
e1f4ad
46648c
* Fri Jan 26 2007 Jesse Keating <jkeating@redhat.com> - 6.90-2
46648c
- Core?  What Core?
46648c
55e499
* Wed Jan 24 2007 Jeremy Katz <katzj@redhat.com> - 6.90-1
55e499
- Bump to 6.90.  Keep working with older release notes
55e499
1860d8
* Mon Oct 16 2006 Jesse Keating <jkeating@redhat.com> - 6-89
1860d8
- Keep version 6, bump release.  Saves from having to rebuild
1860d8
  release notes all the time
1860d8
157efe
* Sun Oct 15 2006 Jesse Keating <jkeating@redhat.com> - 6.89-1
157efe
- Rebuild for rawhide
157efe
157efe
* Thu Oct 12 2006 Jesse Keating <jkeating@redhat.com> - 6-3
157efe
- version has to stay the same, safe to use.
157efe
157efe
* Thu Oct  5 2006 Jesse Keating <jkeating@redhat.com> - 6-2
300336
- replace old mirror files with new mirrorlist cgi system
300336
2efba7
* Thu Oct  5 2006 Jesse Keating <jkeating@redhat.com> - 6-1
2efba7
- Rebuild for Fedora Core 6 release
2efba7
97a5fd
* Tue Sep  5 2006 Jesse Keating <jkeating@redhat.com> - 5.92-1
97a5fd
- Bump for FC6 Test3
97a5fd
eed5ae
* Thu Jul 27 2006 Jesse Keating <jkeating@redhat.com> - 5.91.1-1
eed5ae
- Convert deprecated gtk calls. (#200242)
eed5ae
- Fix some of the versioning
eed5ae
364af5
* Sun Jul 23 2006 Jesse Keating <jkeating@redhat.com> - 5.91-4
cd0014
- Bump for FC6 Test2
cd0014
- Remove release-notes content, now standalone package
364af5
- Don't replace issue and issue.net if the end user has modified it
364af5
- Require fedora-release-notes
cd0014
- Cleanups
cd0014
e6f51d
* Mon Jun 19 2006 Jesse Keating <jkeating@redhat.com> - 5.90-3
10d954
- Cleanups
10d954
6b446a
* Thu Jun 15 2006 Jesse Keating <jkeating@redhat.com> - 5.90-1
6b446a
- Update for 5.90
6b446a
8fb8b0
* Wed May 24 2006 Jesse Keating <jkeating@redhat.com> - 5.89-rawhide.2
8fb8b0
- Update to get new devel repo file
8fb8b0
- merge minor changes from external cvs .spec file
8fb8b0
d5fe40
* Wed Apr 19 2006 Jesse Keating <jkeating@redhat.com> - 5.89-rawhide.1
d5fe40
- Look, a changelog!
d5fe40
- Removed duplicate html/css content from doc dir.
716e2c
- Add lynx as a buildreq
d5fe40