From f23ad2b310b45ad9bf7f9c74ecd1407cd4e5baea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Fri, 17 Jun 2022 17:25:48 +0200 Subject: [PATCH] Update README MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nikola Forró --- README.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 2f346ff..830b0c8 100644 --- a/README.md +++ b/README.md @@ -201,19 +201,15 @@ with specfile.patches() as patches: del patches[2] # inserting a patch with a specific number patches.insert_numbered(999, 'final.patch') - -# fetching non-local sources (including patches) -specfile.download_remote_sources() - -# same thing, but trying to fetch from lookaside cache first -specfile.download_remote_sources(lookaside=True) ``` #### Other attributes ```python -print(specfile.url) -specfile.summary = '...' +print(specfile.name) +print(specfile.license) +print(specfile.summary) +specfile.url = 'https://example.com' ``` ## Caveats