/[pkgs]/rpms/fedora-release/F-9/fedora-release.spec
ViewVC logotype

Contents of /rpms/fedora-release/F-9/fedora-release.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.73 - (show annotations) (download)
Fri Mar 13 23:19:38 2009 UTC (8 months, 1 week ago) by ausil
Branch: MAIN
CVS Tags: fedora-release-9-6_transition, HEAD
Changes since 1.72: +16 -1 lines
add sparc key
1 %define release_name Sulphur
2 %define dist_version 9
3
4 Summary: Fedora release files
5 Name: fedora-release
6 Version: 9
7 Release: 6.transition
8 License: GPLv2
9 Group: System Environment/Base
10 URL: http://fedoraproject.org
11 Source: %{name}-%{version}.tar.gz
12 Source2: RPM-GPG-KEY-fedora-9-sparc
13 Provides: redhat-release = %{version}-%{release}
14 Provides: system-release = %{version}-%{release}
15 Requires: fedora-release-notes >= 9
16 # We require release notes to make sure that they don't get dropped during
17 # upgrades, and just because we always want the release notes available
18 # instead of explicitly asked for
19 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
20 BuildArch: noarch
21
22 %description
23 Fedora release files such as yum configs and various /etc/ files that
24 define the release.
25
26 %prep
27 %setup -q
28
29 %build
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT/etc
34 echo "Fedora release %{version} (%{release_name})" > $RPM_BUILD_ROOT/etc/fedora-release
35 echo "cpe://o:fedora_project:fedora:%{version}" > $RPM_BUILD_ROOT/etc/system-release-cpe
36 cp -p $RPM_BUILD_ROOT/etc/fedora-release $RPM_BUILD_ROOT/etc/issue
37 echo "Kernel \r on an \m (\l)" >> $RPM_BUILD_ROOT/etc/issue
38 cp -p $RPM_BUILD_ROOT/etc/issue $RPM_BUILD_ROOT/etc/issue.net
39 echo >> $RPM_BUILD_ROOT/etc/issue
40 ln -s fedora-release $RPM_BUILD_ROOT/etc/redhat-release
41 ln -s fedora-release $RPM_BUILD_ROOT/etc/system-release
42
43 install -d -m 755 $RPM_BUILD_ROOT/etc/pki/rpm-gpg
44
45 install -m 644 RPM-GPG-KEY* $RPM_BUILD_ROOT/etc/pki/rpm-gpg/
46 install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/etc/pki/rpm-gpg/
47
48 # Install all the keys, link the primary keys to primary arch files
49 # and to compat generic location
50 pushd $RPM_BUILD_ROOT/etc/pki/rpm-gpg/
51 for arch in i386 x86_64 ppc ppc64
52 do
53 ln -s RPM-GPG-KEY-fedora-primary RPM-GPG-KEY-fedora-$arch
54 ln -s RPM-GPG-KEY-fedora-test-primary RPM-GPG-KEY-fedora-test-$arch
55 done
56 for arch in sparc sparc64
57 do
58 ln -s RPM-GPG-KEY-fedora-9-sparc RPM-GPG-KEY-fedora-$arch
59 ln -s RPM-GPG-KEY-fedora-9-sparc RPM-GPG-KEY-fedora-test-$arch
60 done
61 ln -s RPM-GPG-KEY-fedora-primary RPM-GPG-KEY-fedora
62 ln -s RPM-GPG-KEY-fedora-test-primary RPM-GPG-KEY-fedora-test
63 # Do the same for newkey
64 for arch in i386 x86_64 ppc ppc64
65 do
66 ln -s RPM-GPG-KEY-fedora-8-and-9-primary RPM-GPG-KEY-fedora-8-and-9-$arch
67 ln -s RPM-GPG-KEY-fedora-test-8-and-9-primary RPM-GPG-KEY-fedora-test-8-and-9-$arch
68 done
69 for arch in sparc sparc64
70 do
71 ln -s RPM-GPG-KEY-fedora-9-sparc RPM-GPG-KEY-fedora-8-and-9-$arch
72 ln -s RPM-GPG-KEY-fedora-9-sparc RPM-GPG-KEY-fedora-test-8-and-9-$arch
73 done
74 ln -s RPM-GPG-KEY-fedora-8-and-9-primary RPM-GPG-KEY-fedora-8-and-9
75 ln -s RPM-GPG-KEY-fedora-test-8-and-9-primary RPM-GPG-KEY-fedora-test-8-and-9
76 popd
77
78 install -d -m 755 $RPM_BUILD_ROOT/etc/yum.repos.d
79 for file in fedora*repo ; do
80 install -m 644 $file $RPM_BUILD_ROOT/etc/yum.repos.d
81 done
82
83 install -d -m 755 $RPM_BUILD_ROOT/%{_datadir}/%{name}
84 for file in compose/*; do
85 install -m 644 $file $RPM_BUILD_ROOT/%{_datadir}/%{name}
86 done
87
88 # Set up the dist tag macros
89 install -d -m 755 $RPM_BUILD_ROOT/etc/rpm
90 cat >> $RPM_BUILD_ROOT/etc/rpm/macros.dist << EOF
91 # dist macros.
92
93 %%fedora %{dist_version}
94 %%dist .fc%{dist_version}
95 %%fc%{dist_version} 1
96 EOF
97
98 %clean
99 rm -rf $RPM_BUILD_ROOT
100
101 %files
102 %defattr(-,root,root,-)
103 %doc GPL
104 %config %attr(0644,root,root) /etc/fedora-release
105 /etc/redhat-release
106 /etc/system-release
107 %config %attr(0644,root,root) /etc/system-release-cpe
108 %dir /etc/yum.repos.d
109 %config(noreplace) /etc/yum.repos.d/*
110 %config(noreplace) %attr(0644,root,root) /etc/issue
111 %config(noreplace) %attr(0644,root,root) /etc/issue.net
112 %config %attr(0644,root,root) /etc/rpm/macros.dist
113 %dir %{_datadir}/%{name}
114 %{_datadir}/%{name}/*
115 %dir /etc/pki/rpm-gpg
116 /etc/pki/rpm-gpg/*
117
118 %changelog
119 * Fri Mar 13 2009 Dennis Gilmore <dennis@ausil.us> - 9.6.transition
120 - add sparc key
121
122 * Mon Sep 08 2008 Warren Togami <wtogami@redhat.com> - 9-5.transition
123 - transition state between old and new key
124
125 * Wed Jun 25 2008 Jesse Keating <jkeating@redhat.com> - 9-3
126 - Add ia64 key
127 - Fix config file markings
128 - Stop using download.fedora.redhat.com in favor of download.fedoraproject.org
129 - Reference GPG keys by arch
130
131 * Tue May 06 2008 Jesse Keating <jkeating@redhat.com> - 9-2
132 - Update compose files with changes needed during release candidates
133
134 * Thu May 01 2008 Jesse Keating <jkeating@redhat.com> - 9-1
135 - Make the final package, set the release name.
136
137 * Tue Apr 22 2008 Jesse Keating <jkeating@redhat.com> - 9-0.1.rc
138 - Make version 9 for yum, rpm version clearly a pre-release.
139
140 * Fri Apr 11 2008 Jesse Keating <jkeating@redhat.com> - 8.93-1
141 - Update for preview release
142 - Turn off rawhide, turn on others, rely on mirrormanager redirection
143
144 * Thu Mar 13 2008 Jesse Keating <jkeating@redhat.com> - 8.92-1
145 - Update for 9 Beta
146 - Update the compose files for 9 Beta
147 - Add system-release-cpe (from Mark Cox)
148 - Add terminal to issue (#436387)
149 - Rename development to rawhide where appropriate.
150
151 * Wed Oct 10 2007 Jesse Keating <jkeating@redhat.com> - 8.90-3
152 - Bump for cvs oopsie
153
154 * Wed Oct 10 2007 Jesse Keating <jkeating@redhat.com> - 8.90-2
155 - Add the gpg info to the devel repo
156
157 * Wed Oct 03 2007 Jesse Keating <jkeating@redhat.com> - 8.90-1
158 - First build for Fedora 9 development.
159
160 * Fri Sep 28 2007 Jesse Keating <jkeating@redhat.com> - 7.92-1
161 - Bump for F8 Test2.
162 - Package up the compose kickstart files
163
164 * Fri Sep 14 2007 Jesse Keating <jkeating@redhat.com> - 7.91-2
165 - Use failovermethod=priority in yum configs (243698)
166
167 * Thu Aug 30 2007 Jesse Keating <jkeating@redhat.com> - 7.91-1
168 - Provide system-release, useful for spinoffs.
169 - Also link system-release to fedora-release for file level checks
170 - Bump for F8 Test2
171 - Fix license tag
172
173 * Thu Jul 27 2007 Jesse Keating <jkeating@redhat.com> - 7.90-1
174 - Bump for F8 Test1
175
176 * Thu Jun 28 2007 Jesse Keating <jkeating@redhat.com> - 7.89-3
177 - Cleanups from review
178 - Don't (noreplace) the dist tag macro file
179
180 * Tue Jun 19 2007 Jesse Keating <jkeating@redhat.com> - 7.89-2
181 - Define the dist macros in this package since we define everyting else here
182
183 * Wed May 30 2007 Jesse Keating <jkeating@redhat.com> - 7.89-1
184 - And we're back to rawhide. Re-enable devel repos
185
186 * Thu May 24 2007 Jesse Keating <jkeating@redhat.com> - 7-3
187 - We have a name!
188 - Require the newer release notes
189
190 * Mon May 21 2007 Jesse Keating <jkeating@redhat.com> - 7-2
191 - Use Everything in the non-mirror URL to the release tree
192
193 * Mon May 21 2007 Jesse Keating <jkeating@redhat.com> - 7-1
194 - First build for Fedora 7
195 - Remove Extras repos (YAY!)
196 - Remove references to "core" in repo files.
197 - Adjust repo files for new mirror structure
198 - Remove Legacy repo
199
200 * Fri Apr 20 2007 Jesse Keating <jkeating@redhat.com> - 6.93-1
201 - Bump for Test 4
202
203 * Mon Mar 19 2007 Jesse Keating <jkeating@redhat.com> - 6.92-1
204 - Bump for Test 3
205 - No more eula in fedora-release, moved to firstboot
206
207 * Fri Feb 23 2007 Jesse Keating <jkeating@redhat.com> - 6.91-1
208 - Bump for Test 2
209
210 * Tue Feb 13 2007 Jesse Keating <jkeating@redhat.com> - 6.90-4
211 - Specfile cleanups
212
213 * Mon Feb 05 2007 Jesse Keating <jkeating@redhat.com> - 6.90-3
214 - Drop the legacy repo file.
215
216 * Fri Jan 26 2007 Jesse Keating <jkeating@redhat.com> - 6.90-2
217 - Core? What Core?
218
219 * Wed Jan 24 2007 Jeremy Katz <katzj@redhat.com> - 6.90-1
220 - Bump to 6.90. Keep working with older release notes
221
222 * Mon Oct 16 2006 Jesse Keating <jkeating@redhat.com> - 6-89
223 - Keep version 6, bump release. Saves from having to rebuild
224 release notes all the time
225
226 * Sun Oct 15 2006 Jesse Keating <jkeating@redhat.com> - 6.89-1
227 - Rebuild for rawhide
228
229 * Thu Oct 12 2006 Jesse Keating <jkeating@redhat.com> - 6-3
230 - version has to stay the same, safe to use.
231
232 * Thu Oct 5 2006 Jesse Keating <jkeating@redhat.com> - 6-2
233 - replace old mirror files with new mirrorlist cgi system
234
235 * Thu Oct 5 2006 Jesse Keating <jkeating@redhat.com> - 6-1
236 - Rebuild for Fedora Core 6 release
237
238 * Tue Sep 5 2006 Jesse Keating <jkeating@redhat.com> - 5.92-1
239 - Bump for FC6 Test3
240
241 * Thu Jul 27 2006 Jesse Keating <jkeating@redhat.com> - 5.91.1-1
242 - Convert deprecated gtk calls. (#200242)
243 - Fix some of the versioning
244
245 * Sun Jul 23 2006 Jesse Keating <jkeating@redhat.com> - 5.91-4
246 - Bump for FC6 Test2
247 - Remove release-notes content, now standalone package
248 - Don't replace issue and issue.net if the end user has modified it
249 - Require fedora-release-notes
250 - Cleanups
251
252 * Mon Jun 19 2006 Jesse Keating <jkeating@redhat.com> - 5.90-3
253 - Cleanups
254
255 * Thu Jun 15 2006 Jesse Keating <jkeating@redhat.com> - 5.90-1
256 - Update for 5.90
257
258 * Wed May 24 2006 Jesse Keating <jkeating@redhat.com> - 5.89-rawhide.2
259 - Update to get new devel repo file
260 - merge minor changes from external cvs .spec file
261
262 * Wed Apr 19 2006 Jesse Keating <jkeating@redhat.com> - 5.89-rawhide.1
263 - Look, a changelog!
264 - Removed duplicate html/css content from doc dir.
265 - Add lynx as a buildreq
266

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2