mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-27 18:26:15 +01:00
- enhanced the package template
This commit is contained in:
parent
f82ea05051
commit
5aaaa3572a
21
osc/core.py
21
osc/core.py
@ -46,7 +46,6 @@ It also does some weird stuff.
|
||||
|
||||
<person role="maintainer" userid="%(user)s" />
|
||||
<person role="bugowner" userid="%(user)s" />
|
||||
|
||||
<!-- remove this block to publish your packages on the mirrors -->
|
||||
<publish>
|
||||
<disable />
|
||||
@ -100,14 +99,15 @@ new_package_templ = """\
|
||||
|
||||
<title>Title of New Package</title>
|
||||
|
||||
<description>LONG DESCRIPTION
|
||||
<description>
|
||||
LONG DESCRIPTION
|
||||
GOES
|
||||
HERE
|
||||
</description>
|
||||
|
||||
<person role="maintainer" userid="%(user)s"/>
|
||||
<person role="bugowner" userid="%(user)s"/>
|
||||
|
||||
<url>PUT_UPSTREAM_URL_HERE</url>
|
||||
|
||||
<!--
|
||||
use one of the examples below to disable building of this package
|
||||
@ -118,6 +118,21 @@ HERE
|
||||
<disable repository="SUSE_SLE-10"/>
|
||||
<disable repository="SUSE_SLE-10" arch="x86_64"/>
|
||||
|
||||
Possible sections where you can use the tags above:
|
||||
<build>
|
||||
</build>
|
||||
<debuginfo>
|
||||
</debuginfo>
|
||||
<publish>
|
||||
</publish>
|
||||
<useforbuild>
|
||||
</useforbuild>
|
||||
|
||||
Please have a look at:
|
||||
http://en.opensuse.org/Restricted_Formats
|
||||
Packages containing formats listed there are NOT allowed to
|
||||
be packaged in the openSUSE Buildservice and will be deleted!
|
||||
|
||||
-->
|
||||
|
||||
</package>
|
||||
|
Loading…
Reference in New Issue
Block a user