Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 614610 Details for
Bug 847120
Unable to build JSS on F17 or newer
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Discovers the Linux major.minor versions on the fly
jss_847120.patch (text/plain), 1.61 KB, created by
Elio Maldonado Batiz
on 2012-09-19 22:16:45 UTC
(
hide
)
Description:
Discovers the Linux major.minor versions on the fly
Filename:
MIME Type:
Creator:
Elio Maldonado Batiz
Created:
2012-09-19 22:16:45 UTC
Size:
1.61 KB
patch
obsolete
>diff --git a/jss.spec b/jss.spec >index 70798b6..1192f19 100644 >--- a/jss.spec >+++ b/jss.spec >@@ -117,12 +117,26 @@ USE_64=1 > export USE_64 > %endif > >-%if 0%{?fedora} >= 16 >-cp -p mozilla/security/coreconf/Linux2.6.mk mozilla/security/coreconf/Linux3.1.mk >-sed -i -e 's;LINUX2_1;LINUX3_1;' mozilla/security/coreconf/Linux3.1.mk >+MAJOR=`uname -a | awk '{ print $3 }' | awk -F '-' '{ print $1 }' | awk -F '.' '{ print $1 }'` >+MINOR=`uname -a | awk '{ print $3 }' | awk -F '-' '{ print $1 }' | awk -F '.' '{ print $2 }'` >+ >+MAJOR_DOT_MINOR=`uname -a | awk '{ print $3 }' | awk -F '-' '{ print $1 }' | awk -F '.' '{ print $1 "." $2 }'` >+%if 0%{?fedora} >= 18 >+ cp -p mozilla/security/coreconf/Linux2.6.mk mozilla/security/coreconf/Linux${MAJOR}.${MINOR}.mk >+ sed -i -e 's;LINUX2_1;LINUX3_1;' mozilla/security/coreconf/Linux${MAJOR}.${MINOR}.mk >+%else >+ %if 0%{?fedora} == 17 >+ cp -p mozilla/security/coreconf/Linux2.6.mk mozilla/security/coreconf/Linux${MAJOR}.${MINOR}.mk >+ sed -i -e 's;LINUX2_1;LINUX3_1;' mozilla/security/coreconf/Linux${MAJOR}.${MINOR}.mk >+ %endif >+%else >+ %if 0%{?fedora} >= 16 >+ cp -p mozilla/security/coreconf/Linux2.6.mk mozilla/security/coreconf/Linux3.1.mk >+ sed -i -e 's;LINUX2_1;LINUX3_1;' mozilla/security/coreconf/Linux3.1.mk > >-cp -p mozilla/security/coreconf/Linux3.1.mk mozilla/security/coreconf/Linux3.2.mk >-sed -i -e 's;LINUX3_1;LINUX3_2;' mozilla/security/coreconf/Linux3.2.mk >+ cp -p mozilla/security/coreconf/Linux3.1.mk mozilla/security/coreconf/Linux3.2.mk >+ sed -i -e 's;LINUX3_1;LINUX3_2;' mozilla/security/coreconf/Linux3.2.mk >+ %endif > %endif > > # The Makefile is not thread-safe
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 847120
:
614610
|
615532
|
774954
|
774955
|
777141
|
777143
|
777144
|
777145