Skip to content
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

Changelog entry #362

Closed
xsuchy opened this issue Apr 4, 2024 · 0 comments
Closed

Changelog entry #362

xsuchy opened this issue Apr 4, 2024 · 0 comments

Comments

@xsuchy
Copy link
Contributor

xsuchy commented Apr 4, 2024

I used a code from an example in README and used:

specfile.add_changelog_entry(
    f"convert license to SPDX",
    author='Miroslav Suchý',
    email='[email protected]',
    timestamp=datetime.now(),                                                                                                                                                                     
)

but this produces the following diff:

 %changelog
+* Thu Apr 04 20:52:02 UTC 2024 Miroslav Suchý <[email protected]> - 1.10-50
+convert license to SPDX
+
 * Tue Jan 23 2024 Fedora Release Engineering <[email protected]> - 1.10-50

Either it should produce:

* Thu Apr 04 20:52:02 UTC 2024 Miroslav Suchý <[email protected]> - 1.10-50
- convert license to SPDX

or the example should be:

specfile.add_changelog_entry(
    '- New upstream release 2.1',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant