-
Bug
-
Resolution: Done
-
Major
-
None
-
9.x
-
None
-
None
-
None
-
False
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
Section number and name: 4.5.4. An example SPEC file for a program written in Python
Describe the issue:
Currently the value of the Source field of the SPEC file of the pello package:
Source: %{url}/archive/v%{version}/Pello-%{version}.tar.gz
Uses the Pello-%{version}.tar.gz base name, which is inconsistent with the source archive file created in 3.3.2. Creating a source code archive for a sample Python program section causes the following error to occur when the user is trying to build the source RPM in 4.6.2. Rebuilding a binary RPM from a source RPM section:
[root@rhel-packaging-lab project]# rpmbuild -bs pello.spec
error: Bad source: /root/rpmbuild/SOURCES/Pello-0.1.1.tar.gz: No such file or directory
Impact of this issue: The documentation consumer cannot proceed with the operation due to the error.
Suggestions for improvement:
- Rename the source repository to NOT use the titlecase name.
- Don't specify the remote repository in the Source field.