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 1522183 Details for
Bug 1666493
Review Request: OpenLiberty - Server runtime for Java Developers
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.rh109 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
Migrated Products
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
Updated spec file
openliberty.spec (text/plain), 2.47 KB, created by
Michael.Zhang
on 2019-01-21 15:58:18 UTC
(
hide
)
Description:
Updated spec file
Filename:
MIME Type:
Creator:
Michael.Zhang
Created:
2019-01-21 15:58:18 UTC
Size:
2.47 KB
patch
obsolete
># This is the spec file for rpm openliberty creation > >%define _topdir /home/travis/build/was-lighthouse/openliberty-rpmdeb/rpmbuild >%define name openliberty >%define version 18.0.0.4 >%define buildroot %{_topdir}/BUILDROOT/%{name}-root > >#%define _rpmfilename %%{NAME}-%%{VERSION}.%%{ARCH}.rpm > >AutoProv: no >%undefine __find_provides >AutoReq: no >%undefine __find_requires ># Do not try autogenerate prereq/conflicts/obsoletes and check files >%undefine __check_files >%undefine __find_prereq >%undefine __find_conflicts >%undefine __find_obsoletes ># Be sure buildpolicy set to do nothing - does not randomly compile the python files >%define __spec_install_post %{nil} ># Remove missing file termination >%define _missing_doc_files_terminate_build 0 > >#BUILDHOST: IBM Linux Machine >#OS: linux >#ARCH: noarch > >BuildRoot: %{buildroot} >Summary: Open Liberty >License: EPL-1.0 >Name: %{name} >Version: %{version} >Release: 1 >Source: %{name}-%{version}.tar.gz >Group: WAS/Development/Tools >BuildArch: noarch >URL: https://openliberty.io/downloads/ >Vendor: IBM >Packager: IBM > >%description >Open Liberty provides developers with proven Java EE 8 technology and the latest Eclipse MicroProfile capabilities for building micro-services > >%install >#Unpacking the tar into the openliberty folder >mkdir -p %{buildroot}/opt/%{name} >cd %{buildroot}/opt/%{name} >tar -zxf %{_topdir}/SOURCES/%{name}-%{version}.tar.gz > >#Creating the server folder and moving server folder to /var/local >mkdir -p %{buildroot}/var/local/%{name} >mv %{buildroot}/opt/%{name}/usr %{buildroot}/var/local/%{name} > >#Creating the scripts folder >mkdir -p %{buildroot}/etc/init.d >cp %{_topdir}/SOURCES/scripts/* %{buildroot}/etc/init.d > >#Moving LICENSE file to doc and license >mkdir -p %{buildroot}/usr/share/doc/%{name} >mv %{buildroot}/opt/%{name}/LICENSE %{buildroot}/usr/share/doc/%{name} > >exit 0 > >%files >%defattr(-,root,root) >/opt/%{name} >/etc/init.d >/var/local/%{name} >/usr/share/doc/%{name} > >%changelog > >%post > >echo "Configuring the JAVA_HOME - finding java symbolic link..." >if (which java > /dev/null 2>&1) ; then > javaDir=$(dirname $(dirname $(readlink -f $(which java)))) > echo "JAVA_HOME=$javaDir">> /opt/%{name}/etc/server.env > echo "Java has been correctly configured to your system java." >else > echo "Java is not installed on your system. Please install one and add the JAVA_HOME env variable in server.env in the wlp user dir" >fi > >exit 0
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 Raw
Actions:
View
Attachments on
bug 1666493
:
1522183
|
1538618