Skip to content

Commit

Permalink
doc: correct usage of entry in changelog
Browse files Browse the repository at this point in the history
Fixes: #362
  • Loading branch information
xsuchy committed Apr 4, 2024
1 parent 5a5e03f commit 2cb0c13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,11 @@ with Specfile("example.spec") as spec:
# adding a new entry, author is automatically determined
# (using the same heuristics that rpmdev-packager uses) if possible
# this function already honors autochangelog
specfile.add_changelog_entry('New upstream release 2.1')
specfile.add_changelog_entry('- New upstream release 2.1')

# adding a new entry, specifying author and timestamp explicitly
specfile.add_changelog_entry(
'New upstream release 2.1',
'- New upstream release 2.1',
author='Nikola Forró',
email='[email protected]',
timestamp=datetime.date(2021, 11, 20),
Expand Down

0 comments on commit 2cb0c13

Please sign in to comment.