mirror of
https://github.com/danieldemus/pyp2spec.git
synced 2026-07-27 21:00:37 +02:00
Update examples README to reflect the new specfile outcome
This commit is contained in:
committed by
Karolina Surma
parent
ebd1b81075
commit
740c252083
@@ -84,14 +84,11 @@ Configuration data is stored in a TOML file.
|
||||
| archive_name | source tarball name, stripped of version and file extension | string |
|
||||
| version | package version to create spec file for (RPM format) | string |
|
||||
| pypi_version | package version string as in PyPI, '%{version}' if the same as version | string
|
||||
| release | Fedora package release | string |
|
||||
| summary | short package summary | string |
|
||||
| license | license name | string |
|
||||
| url | project URL | string |
|
||||
| source | %{pypi_source} macro with optional arguments (tarball URL can be used instead) | string |
|
||||
| description | long package description | multiline string |
|
||||
| changelog_head | spec file changelog header (date, name, e-mail) | string |
|
||||
| changelog_msg | spec file changelog message | string |
|
||||
|
||||
|
||||
### Optional fields
|
||||
@@ -117,13 +114,10 @@ Configuration data is stored in a TOML file.
|
||||
### Example config file generated by pyp2spec
|
||||
|
||||
```
|
||||
changelog_msg = "Package generated with pyp2spec"
|
||||
changelog_head = "Tue Sep 21 2021 Name Surname <email@address>"
|
||||
description = "This is package 'aionotion' generated automatically by pyp2spec."
|
||||
summary = "A simple Python 3 library for Notion Home Monitoring"
|
||||
version = "2.0.3"
|
||||
license = "MIT"
|
||||
release = "1"
|
||||
pypi_name = "aionotion"
|
||||
pypi_version = %{version}
|
||||
python_name = "python-aionotion"
|
||||
@@ -137,7 +131,7 @@ archive_name = "aionotion"
|
||||
```
|
||||
Name: python-aionotion
|
||||
Version: 3.0.2
|
||||
Release: 1%{?dist}
|
||||
Release: %autorelease
|
||||
Summary: A simple Python 3 library for Notion Home Monitoring
|
||||
|
||||
# Check if the automatically generated License and its spelling is correct for Fedora
|
||||
@@ -188,8 +182,7 @@ Summary: %{summary}
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Sep 21 2021 Name Surname <email@address> - 3.0.2-1
|
||||
- Package generated with pyp2spec
|
||||
%autochangelog
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user