From Fedora Project Wiki

No edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
There are tons of tutorials on how to create RPM packages, but many of them are obsolete, or don't include the important Fedora-specific stuff.  This page gives the basics, with links to more information.  I had to use many different sources to come up with this page - which was the problem in the first place.
There are tons of tutorials on how to create RPM packages, but many of them are obsolete, or don't include the important Fedora-specific stuff.  This page gives the basics, with links to more information.  I had to use many different sources to come up with this page - which was the problem in the first place.
The documentation for the -c option for the %setup macro doesn't seem to match how things work. -c just seems to trigger directory creation, but not choose the name. You still need to use -n name if you want a specific name.
[[User:Vandebugger|Vandebugger]] ([[User talk:Vandebugger|talk]]) 22:33, 26 September 2016 (UTC):
: At least 6 link are just died: either page not found or even server not found.
I guess you see why I'm simply removing all of that stuff as I restructure the document.  Thanks for saving me the hassle of figuring out which of those links work and which don't. [[User:Tibbs|Tibbs]] ([[User talk:Tibbs|talk]]) 23:59, 26 September 2016 (UTC)
[[User:Vandebugger|Vandebugger]] ([[User talk:Vandebugger|talk]]) 19:08, 27 September 2016 (UTC):
: Sorry for off-topic... I have a problem, it looks like a problem in rpmbuild, but I am not sure if it is a bug (I would submit a ticket to bugzilla then) or my misunderstanding. What is the proper place to discuss it?
All sorts of places, but definitely not here.  #fedora-devel on IRC is where you'd find me.  Maybe the packaging@ mailing list as well, depending on what you're doing. [[User:Tibbs|Tibbs]] ([[User talk:Tibbs|talk]]) 19:53, 27 September 2016 (UTC)
== Big restructuring ==
I came to clean up a few things because a user pointed out that he got poor advice from this page, and I realized as I started fixing things that it really needs an overhaul.  So I've added an "under construction" note and will be converting everything to use fedpkg throughout.  I apologize to any translators who are going to see a wall of edits. [[User:Tibbs|Tibbs]] ([[User talk:Tibbs|talk]]) 22:16, 15 September 2016 (UTC)

Latest revision as of 19:53, 27 September 2016

There are tons of tutorials on how to create RPM packages, but many of them are obsolete, or don't include the important Fedora-specific stuff. This page gives the basics, with links to more information. I had to use many different sources to come up with this page - which was the problem in the first place.

The documentation for the -c option for the %setup macro doesn't seem to match how things work. -c just seems to trigger directory creation, but not choose the name. You still need to use -n name if you want a specific name.

Vandebugger (talk) 22:33, 26 September 2016 (UTC):

At least 6 link are just died: either page not found or even server not found.

I guess you see why I'm simply removing all of that stuff as I restructure the document. Thanks for saving me the hassle of figuring out which of those links work and which don't. Tibbs (talk) 23:59, 26 September 2016 (UTC)

Vandebugger (talk) 19:08, 27 September 2016 (UTC):

Sorry for off-topic... I have a problem, it looks like a problem in rpmbuild, but I am not sure if it is a bug (I would submit a ticket to bugzilla then) or my misunderstanding. What is the proper place to discuss it?

All sorts of places, but definitely not here. #fedora-devel on IRC is where you'd find me. Maybe the packaging@ mailing list as well, depending on what you're doing. Tibbs (talk) 19:53, 27 September 2016 (UTC)

Big restructuring

I came to clean up a few things because a user pointed out that he got poor advice from this page, and I realized as I started fixing things that it really needs an overhaul. So I've added an "under construction" note and will be converting everything to use fedpkg throughout. I apologize to any translators who are going to see a wall of edits. Tibbs (talk) 22:16, 15 September 2016 (UTC)