I have created a shell script to wrap around the process of creating Custom Firefox builds so that I can control where the Firefox application resides because sometimes we have technology constraints that require installing an older version of Firefox somewhere else; like /opt instead of /usr for example.
I have gotten everything prototyped every step of the way, and I am pretty happy with the challenges that I overcame and worked around.
I even use a here file script to create my firefox.spec under the directory /home/build/CFirefox/rpmbuild/SPECS.
I get my Source0 (firefox67-67.0.2.tar.xz) created in /home/build/CFirefox/rpmbuild/SOURCES.
The problem is when I execute the rpm creation command:
Code: Select all
rpmbuild -v -ba /home/build/CFirefox/rpmbuild/SPECS/firefox.spec
Code: Select all
error: File /home/build/rpmbuild/SOURCES/firefox67-67.0.2.tar.xz: No such file or directory
The line in question looks like this, as it is broken:
Code: Select all
Source0: firefox67-67.0.2.tar.xz
Code: Select all
Source0: /home/build/CFirefox/rpmbuild/SOURCES/firefox67-67.0.2.tar.xz