Closed emettely closed 4 years ago
To create a meta-package, you still need %files
with empty entries to successfully build an RPM.
https://www.linuxquestions.org/questions/linux-software-2/how-to-make-rpms-with-dependencies-meta-packages-720481/
You can either specify dependency repositories via repos.d/
directory (as recommended https://github.com/bbc/bbc-mock-tools#mock-build) or you can specify it in mock-build -r <directory>
.
$ rpm -qpR digital-paper-edit-0.1.1-1.bbc.el7.x86_64.rpm
dpe-client
dpe-api
cloud-httpd24-ssl-no-certs
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadIsXz) <= 5.2-1
Invalid as moved to firebase
Context
In the DPE Cosmos instance, we want to make sure that the API and client can co-run and communicate with each other. We therefore need to package each NPM package as an RPM and run them in the Cosmos EC2 instance.
Acceptance Criteria
Be able to access a URL to see the UI and see that the backend server is up.
https://github.com/bbc/bbc-mock-tools#mock-build