summaryrefslogtreecommitdiff
path: root/rpkg.spec
diff options
context:
space:
mode:
Diffstat (limited to 'rpkg.spec')
-rw-r--r--rpkg.spec28
1 files changed, 11 insertions, 17 deletions
diff --git a/rpkg.spec b/rpkg.spec
index 65ae79d..4552eef 100644
--- a/rpkg.spec
+++ b/rpkg.spec
@@ -1,9 +1,9 @@
Name: rpkg
-Version: 1.65
+Version: 1.67
Release: 1
Summary: Python library for interacting with rpm+git
-License: GPLv2+ and LGPLv2
+License: GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2
URL: https://pagure.io/rpkg
BuildArch: noarch
Source0: https://pagure.io/releases/rpkg/%{name}-%{version}.tar.gz
@@ -18,21 +18,9 @@ Source1: rpkg.rpmlintrc
PYTHONDONTWRITEBYTECODE=1\\\
%{?__pytest_addopts:PYTEST_ADDOPTS="${PYTEST_ADDOPTS:-} %{__pytest_addopts}"}\\\
%__pytest}
-
-# Fix for bug 1579367
-# Due to https://pagure.io/koji/issue/912, python[23]-koji package does not
-# have egginfo.
-# rpm-py-installer is required as a proxy to install RPM python binding
-# library, so rpm is the actual requirement that must be present in the
-# requires.txt. But, rpkg has to work in all active Fedora and EPEL releases,
-# and there is only old rpm-python package in EL6 and 7, so just simply to
-# remove rpm-py-installer for now.
Patch0: remove-koji-and-rpm-py-installer-from-requires.patch
Patch1: 0001-Do-not-use-pytest-related-dependencies-temporarily.patch
Patch2: 0002-Remove-pytest-coverage-execution.patch
-Patch4: 0004-fedpkg-local-does-not-show-rpmbuild-output.patch
-Patch5: 0005-Fixes-for-exploded-SRPM-layouts.patch
-Patch6: 0006-mockbuild-escape-rpm-command-under-mock.patch
%description
Python library for interacting with rpm+git
@@ -41,6 +29,8 @@ Python library for interacting with rpm+git
Summary: %{summary}
BuildRequires: python3-devel
+BuildRequires: python3-pip
+BuildRequires: python3-hatchling
BuildRequires: python3-GitPython
BuildRequires: python3-koji >= 1.24
BuildRequires: python3-libmodulemd
@@ -98,11 +88,13 @@ Common files for python2-%{name} and python3-%{name}.
sed -i -n '/extras_require/,/}/!p' setup.py
%build
-%py3_build
+%pyproject_build
+
%install
-%py3_install
+%pyproject_install
+
# Create configuration directory to holding downstream clients config files
# that are built on top of rpkg
@@ -128,12 +120,14 @@ example_cli_dir=$RPM_BUILD_ROOT%{_datadir}/%{name}/examples/cli
%doc README.rst CHANGELOG.rst
%license COPYING COPYING-koji LGPL
%{python3_sitelib}/pyrpkg
-%{python3_sitelib}/%{name}-%{version}-py*.egg-info
+%{python3_sitelib}/%{name}-%{version}.dist-info
%files common
%{_datadir}/%{name}
%{_sysconfdir}/rpkg
%changelog
+* Sun Mar 23 2025 lichaoran <pkwarcraft@hotmail.com> - 1.67-1
+- Upgrade to 1.67
* Fri Mar 24 2023 lichaoran <pkwarcraft@hotmail.com> - 1.65-1
- Initial package