-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Review of the Build Recipe section #194
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,38 +63,38 @@ https://www.suse.com/communities/blog/suse-studio-integration/ | |
<listitem> | ||
<formalpara> | ||
<title>Metadata</title> | ||
<para>The package name and the description are mandatory. Other data | ||
such as the version, the license, the upstream URL | ||
is optional.</para> | ||
<para>This is the package name, description, version, license | ||
information, upstream URL...</para> | ||
</formalpara> | ||
</listitem> | ||
<listitem> | ||
<formalpara> | ||
<title>Requirements</title> | ||
<title>How to build the upstream source</title> | ||
<para> | ||
Packages depend on other packages to function properly. | ||
There are two types of requirements: | ||
<emphasis>build requirements</emphasis> and | ||
<emphasis>installation requirements</emphasis>. | ||
You need to indicate how to produce the files that will be | ||
part of the package: where to get the sources, the patches to | ||
apply if any, and which command(s) to run, e.g. | ||
<command>make</command>. | ||
</para> | ||
<para> | ||
These commands often require other packages to be installed | ||
beforehand; for example, to build a C++ program, you need a | ||
C++ compiler. You need to indicate this list of packages: the | ||
<emphasis>build requirements</emphasis>. | ||
</para> | ||
</formalpara> | ||
<para> | ||
Build requirements are dependencies which are needed during the | ||
build process in &obsa;. For example, a C++ program needs | ||
a C++ compiler. | ||
</para> | ||
<para> | ||
Installation requirements are dependencies which are needed when installing | ||
the final package. | ||
</para> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oh, it was there already :/ |
||
</listitem> | ||
<listitem> | ||
<formalpara> | ||
<title>A Package List</title> | ||
<title>Package contents, installation requirements and install/uninstall actions</title> | ||
<para> | ||
You need to list the files and directories to include into the | ||
package. | ||
</para> | ||
<para> | ||
To successfully install and remove a package and all its contents, | ||
the package manager needs to know which files and directories belong to | ||
which package. | ||
The installed package may require other packages to function | ||
properly. They are called the <emphasis>installation | ||
requirements</emphasis>. | ||
</para> | ||
</formalpara> | ||
Comment on lines
+92
to
99
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here. You need to move your end tag |
||
</listitem> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the reason for your validation problem. The
<formalpara>
element allows only one<para>
element, not two (as in your case).It's quite easy to fix. Just move the end tag
</formalpara>
a bit higher: