Adjust sedding for the 3.x release style now that we know it's 3.x.x and not
just 3.x
This commit is contained in:
		
							parent
							
								
									37a65c7868
								
							
						
					
					
						commit
						9e4aeabc4e
					
				
							
								
								
									
										10
									
								
								kernel.spec
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								kernel.spec
									
									
									
									
									
								
							| @ -51,7 +51,7 @@ Summary: The Linux kernel | |||||||
| # For non-released -rc kernels, this will be prepended with "0.", so | # For non-released -rc kernels, this will be prepended with "0.", so | ||||||
| # for example a 3 here will become 0.3 | # for example a 3 here will become 0.3 | ||||||
| # | # | ||||||
| %global baserelease 1 | %global baserelease 2 | ||||||
| %global fedora_build %{baserelease} | %global fedora_build %{baserelease} | ||||||
| 
 | 
 | ||||||
| # base_sublevel is the kernel version we're starting with and patching | # base_sublevel is the kernel version we're starting with and patching | ||||||
| @ -1372,11 +1372,10 @@ BuildKernel() { | |||||||
|     # make sure EXTRAVERSION says what we want it to say |     # make sure EXTRAVERSION says what we want it to say | ||||||
|     perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = %{?stablerev}-%{release}.%{_target_cpu}${Flavour:+.${Flavour}}/" Makefile |     perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = %{?stablerev}-%{release}.%{_target_cpu}${Flavour:+.${Flavour}}/" Makefile | ||||||
| 
 | 
 | ||||||
|     # if pre-rc1 devel kernel, must fix up SUBLEVEL for our versioning scheme |     # if pre-rc1 devel kernel, must fix up PATCHLEVEL for our versioning scheme | ||||||
|     ### XXX this will probably be dead code in 3.0 --kyle |  | ||||||
|     %if !0%{?rcrev} |     %if !0%{?rcrev} | ||||||
|     %if 0%{?gitrev} |     %if 0%{?gitrev} | ||||||
|     perl -p -i -e 's/^SUBLEVEL.*/SUBLEVEL = %{upstream_sublevel}/' Makefile |     perl -p -i -e 's/^PATCHLEVEL.*/PATCHLEVEL = %{upstream_sublevel}/' Makefile | ||||||
|     %endif |     %endif | ||||||
|     %endif |     %endif | ||||||
| 
 | 
 | ||||||
| @ -1877,6 +1876,9 @@ fi | |||||||
| # and build. | # and build. | ||||||
| 
 | 
 | ||||||
| %changelog | %changelog | ||||||
|  | * Fri Jul 29 2011 Josh Boyer <jwboyer@redhat.com> | ||||||
|  | - Adjust Makefile sedding to account for 3.x release style | ||||||
|  | 
 | ||||||
| * Fri Jul 29 2011 Josh Boyer <jwboyer@redhat.com> | * Fri Jul 29 2011 Josh Boyer <jwboyer@redhat.com> | ||||||
| - Linux 3.0-git11 | - Linux 3.0-git11 | ||||||
| - Backport patch to correct udlfb removal events (rhbz 726163) | - Backport patch to correct udlfb removal events (rhbz 726163) | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user