/[pkgs]/rpms/fedora-release/OLPC-4/fedora-release.spec
ViewVC logotype

Contents of /rpms/fedora-release/OLPC-4/fedora-release.spec

Parent Directory Parent Directory | Revision Log Revision Log


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

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2