Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
Signed-off-by: Nikola Forró <[email protected]>
  • Loading branch information
nforro committed Jun 17, 2022
1 parent 4ffdd96 commit f23ad2b
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f23ad2b

Please sign in to comment.