From 83c559593285d26ea808e6578b93429dad07b779 Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Jul 07 2021 20:26:50 +0000 Subject: Update to 0.9.0 --- diff --git a/.gitignore b/.gitignore index 0958538..15eb357 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /pystemd-0.6.0.tar.gz /pystemd-0.6.tar.gz /pystemd-0.8.0.tar.gz +/pystemd-0.9.0.tar.gz diff --git a/python-pystemd.spec b/python-pystemd.spec index fe7d845..0fe121a 100644 --- a/python-pystemd.spec +++ b/python-pystemd.spec @@ -4,17 +4,14 @@ # Created by pyp2rpm-3.3.2 %global pypi_name pystemd -# GitHub tag lacks the final .0 -%global tag 0.8 - Name: python-%{pypi_name} -Version: %{tag}.0 -Release: 3%{?dist} +Version: 0.9.0 +Release: 1%{?dist} Summary: A thin Cython-based wrapper on top of libsystemd License: LGPLv2+ URL: https://github.com/facebookincubator/pystemd -Source0: %{url}/releases/download/v.%{tag}/%{pypi_name}-%{version}.tar.gz +Source0: %{url}/releases/download/v.%{version}/%{pypi_name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: pkgconfig(libsystemd) @@ -51,6 +48,9 @@ rm -rf %{pypi_name}.egg-info # Remove unneeded shebang sed -e "\|#!/usr/bin/env python3|d" -i %{pypi_name}/*.py* %{pypi_name}/*/*.py* +# Remove pregenerated Cython bindings +find . -name \*.c -exec rm '{}' \; + %build %py3_build @@ -73,6 +73,10 @@ popd %{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %changelog +* Wed Jul 07 2021 Davide Cavalca - 0.9.0-1 +- Update to 0.9.0 +- Ensure we always rebuild the Cython bindings (Resolves: rhbz#1900529) + * Fri Jun 04 2021 Python Maint - 0.8.0-3 - Rebuilt for Python 3.10 diff --git a/sources b/sources index 74202c8..cc93ea3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pystemd-0.8.0.tar.gz) = 7a0529800f0566da32a3a4e3825112a30ecfe475fc01400ca69d76672675f8f2ad53595477aefb70abdd7183355f498f61df0603e7afda4d2acdc0684dfc465e +SHA512 (pystemd-0.9.0.tar.gz) = 4fcd338e87bb167394d5ff09e3229295d0439405d4062ae11c6f0f2e1601b864aa85925f67fbef0bc195166d1cb20b25e88852c9c3d599d5bcf994494d5e45f4