Bugzilla – Bug 609957
RPM-HOWTO instructions do not work
Last modified: 2019-07-11 11:00:51 UTC
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; pl-PL; rv:1.9.1.9) Gecko/20100317 SUSE/3.5.9-0.1.1 Firefox/3.5.9 The instructions how to build a package from source are outdated and do not work any more. Reproducible: Always Steps to Reproduce: 1. Open the document "Building the Package with RPM" [1]. 2. rpm -ba foobar-1.0.spec Actual Results: 1. Once you have a spec file, you are ready to try and build your package. The most useful way to do it is with a command like the following: rpm -ba foobar-1.0.spec 2. -ba: nieznana opcja Expected Results: 1. Once you have a spec file, you are ready to try and build your package. The most useful way to do it is with a command like the following: rpmbuild -ba foobar-1.0.spec == References == [1] <URL:file:///usr/share/doc/packages/rpm/RPM-HOWTO/build-it.html#BUILD-PKG>
Also, the path "/usr/doc/rpm*/GROUPS" in the document "Building RPMs" [2] should be replaced with "file:///usr/share/doc/packages/rpm/GROUPS". == References == [2] /usr/share/doc/packages/rpm/RPM-HOWTO/build.html
Also, the option "%setup -q" used in the example spec file [2] is not explained.
Also, the sample spec file contains the following invalid tag: Copyright: GPL that causes rpmbuild to fail. It should be replaced with License: GPL
Also, the information in section 7.6. "What to do with your new RPMs" [3] is probably obsolete: : Once you've made your own RPM of something (assuming its something that hasn't already been RPM'ed), you can contribute your work to others (also assuming you RPM'ed something freely distributable). To do so, you'll want to upload it to ftp.redhat.com. The FTP server ftp.redhat.com provides no "incoming" sink. [3] <URL:file:///usr/share/doc/packages/rpm/RPM-HOWTO/build-it.html#WHAT-TO-DO>
(In reply to comment #4) > Also, the information in section 7.6. "What to do with your new RPMs" [3] is > probably obsolete: > > : Once you've made your own RPM of something (assuming its something that > hasn't already been RPM'ed), you can contribute your work to others (also > assuming you RPM'ed something freely distributable). To do so, you'll want to > upload it to ftp.redhat.com. > > The FTP server ftp.redhat.com provides no "incoming" sink. > > [3] <URL:file:///usr/share/doc/packages/rpm/RPM-HOWTO/build-it.html#WHAT-TO-DO> Should probably be <URL:http://en.opensuse.org/Contrib> instead.
Still contains this old information on Leap 42.3.
This is automated batch bugzilla cleanup. The openSUSE 42.3 changed to end-of-life (EOL [1]) status. As such it is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of openSUSE (At this moment openSUSE Leap 15.1, 15.0 and Tumbleweed) please feel free to reopen this bug against that version (!you must update the "Version" component in the bug fields, do not just reopen please), or alternatively create a new ticket. Thank you for reporting this bug and we are sorry it could not be fixed during the lifetime of the release. [1] https://en.opensuse.org/Lifetime