[packit] 0.12.0 upstream release
Upstream tag: 0.12.0 Upstream commit: 1f184858 Signed-off-by: Packit <hello@packit.dev>
This commit is contained in:
parent
ed6ad838aa
commit
ec692d6cc0
7 changed files with 49 additions and 10 deletions
|
|
@ -30,15 +30,15 @@ actions:
|
|||
# LookupError: setuptools-scm was unable to detect version for '/builddir/build/BUILD/ogr-0.11.1'.
|
||||
# Make sure you're either building from a fully intact git repository or PyPI tarballs.
|
||||
create-archive:
|
||||
- python3 setup.py sdist --dist-dir ./fedora/
|
||||
- python3 -m build --sdist --outdir ./fedora/
|
||||
- bash -c "ls -1t ./fedora/*.tar.gz | head -n 1"
|
||||
get-current-version: python3 setup.py --version
|
||||
get-current-version: python3 -m setuptools_scm
|
||||
pre-sync:
|
||||
# FMF has to be installed on system where you are calling this tool.
|
||||
- python3 plans/git_reference.py
|
||||
|
||||
srpm_build_deps:
|
||||
- python3-pip # "python3 setup.py --version" needs it
|
||||
- python3-build
|
||||
- python3-setuptools_scm
|
||||
|
||||
jobs:
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
This repository is maintained by packit.
|
||||
https://packit.dev/
|
||||
The file was generated using packit 0.65.0.
|
||||
The file was generated using packit 0.65.2.
|
||||
|
|
|
|||
|
|
@ -5,10 +5,25 @@ from pathlib import Path
|
|||
|
||||
import fmf
|
||||
|
||||
# Set discover of specfile tests to a fixed commit
|
||||
tree_root = Path.cwd().absolute()
|
||||
node = fmf.Tree(tree_root).find("/plans")
|
||||
with node as data:
|
||||
tree = fmf.Tree(tree_root)
|
||||
main_node = tree.find("/plans")
|
||||
with main_node as data:
|
||||
data["discover"]["url"] = "https://github.com/packit/specfile.git"
|
||||
data["discover"]["ref"] = (
|
||||
subprocess.check_output(["git", "rev-parse", "HEAD"]).decode().strip()
|
||||
)
|
||||
|
||||
|
||||
# Set discover of packit integration tests to the current main
|
||||
packit_node = tree.find("/plans/packit-integration")
|
||||
with packit_node as data:
|
||||
data["discover"]["ref"] = (
|
||||
subprocess.check_output(
|
||||
["git", "ls-remote", "https://github.com/packit/packit", "main"]
|
||||
)
|
||||
.decode()
|
||||
.strip()
|
||||
.split()[0]
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
discover:
|
||||
how: fmf
|
||||
url: https://github.com/packit/specfile.git
|
||||
ref: 3581c3cdf539a528eda246383e3e26f101ecb156
|
||||
ref: 1f184858eb3a05e2b8d6a5d538e04acd96d377f8
|
||||
execute:
|
||||
how: tmt
|
||||
|
|
|
|||
19
plans/packit-integration.fmf
Normal file
19
plans/packit-integration.fmf
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
discover:
|
||||
how: fmf
|
||||
url: https://github.com/packit/packit
|
||||
filter: tier:0 | tier:1
|
||||
ref: 2a071f16c039feeec25d26c68650bdda1787ae32
|
||||
adjust:
|
||||
- when: how == integration
|
||||
because: provide latest python-specfile rpm when running locally
|
||||
prepare+:
|
||||
- name: python3-specfile rpm
|
||||
how: install
|
||||
directory: noarch/
|
||||
- when: distro == rhel-9 or distro == centos-9 or distro == centos-stream-9
|
||||
because: 'flexmock and deepdiff are not in EPEL 9: https://bugzilla.redhat.com/show_bug.cgi?id=2120251'
|
||||
prepare+:
|
||||
- how: install
|
||||
package: python3-pip
|
||||
- how: shell
|
||||
script: pip3 install flexmock deepdiff
|
||||
|
|
@ -13,7 +13,7 @@ in a minimal diff.}
|
|||
|
||||
|
||||
Name: python-specfile
|
||||
Version: 0.11.1
|
||||
Version: 0.12.0
|
||||
Release: 1%{?dist}
|
||||
|
||||
Summary: A library for parsing and manipulating RPM spec files
|
||||
|
|
@ -69,8 +69,13 @@ sed -i 's/rpm-py-installer/rpm/' setup.cfg
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Jan 06 2023 Packit <hello@packit.dev> - 0.12.0-1
|
||||
- All classes including `Specfile` itself can now be copied using the standard `copy()` and `deepcopy()` functions from `copy` module. (#176)
|
||||
- `Section.name` attribute has been renamed to a more fitting `Section.id`. (#167)
|
||||
- `setup.cfg` now uses `license_files` instead of deprecated `license_file`. (#162)
|
||||
|
||||
* Wed Dec 14 2022 Packit <hello@packit.dev> - 0.11.1-1
|
||||
- Tags enclosed in conditional macro expansions are not ignored anymore. (#156)
|
||||
- Tags enclosed in conditional macro expansions are not ignored anymore. (#156)
|
||||
- Fixed context managers being shared between Specfile instances. (#157)
|
||||
|
||||
* Fri Dec 09 2022 Packit <hello@packit.dev> - 0.11.0-1
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (specfile-0.11.1.tar.gz) = 9f9e066f39c4178741f97e0b2b3295c38a19f386a8627d1ef058b6668010f7a41d8d0f1c2d8473674175ca8aa397ddd3d0b9af8120c961b5eb840309a110f5d5
|
||||
SHA512 (specfile-0.12.0.tar.gz) = af2e1cf639e06f50587696dce01723bbdbfcd20f78633e67ab9532831af5ec2530f5af2a5a5c6908fa802216b7a15430c1817851f014b5557f73ddd2ba165fdb
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue