The next two paragraphs try to represent the idea of what the spec file should look like in dist-git and what it should become in koji.
Basically, the %{autorel}
macro gets defined at the top of the spec file in koji and returns the output of the logic figuring out the next release for the package.
The %{autochangelog}
macro gets entirely replaced by the changelog as generated from the git history as well as the changelog
file stored in dist-git.
[...]
Release: %{autorel}
[...]
%changelog
%{autochangelog}
%global function autorel() {
return 1%{dist}
}
[...]
Release: %{autorel}
[...]
%changelog
* Mar 3 2020, pingou <email@domain> 1.2-1
- Update to 1.2
* Mar 1 2020 Nils <email@domain2> 1.0-1
- Update to 1.0
Rename the generate_changelog project to rpmautospec [pingou]
New API endpoint in pagure to create git tags [pingou]
koji plugin post scm checkout [Adam]
koji plugin post rpmbuild [Adam]
Cook up/Polish the logic to find the next release [Nils]
Docs on how to call rpmautospec from the koji plugin to do the work [Nils]
Package rpmautospec (at least scratch build so we can install it in staging) [Nils]
Patch fedpkg/rpkg to use rpmautospect as well [todo later]
V0.1:
changelog
fileV0.2:
changelog
file in the git repoor
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing