Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
systemsmanagement:saltstack:bundle:next:Debian12
saltbundlepy-rpm-vercmp
saltbundlepy-rpm-vercmp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File saltbundlepy-rpm-vercmp.spec of Package saltbundlepy-rpm-vercmp
# # spec file for package saltbundlepy-rpm-vercmp # # Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!saltbundlepy_module:%define saltbundlepy_module() saltbundlepy-%{**}} %define pythons saltbundlepy # Disable python bytecompile for all distros # It's called explicitly in the spec %global __brp_python_bytecompile %{nil} Name: saltbundlepy-rpm-vercmp Version: 0.1.2 Release: 0 Summary: Pure Python implementation of rpmvercmp License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/sassoftware/python-rpm-vercmp Source: https://files.pythonhosted.org/packages/source/r/rpm_vercmp/rpm_vercmp-%{version}.tar.gz Source1: rpmvercmp.at # PATCH-FIX_UPSTREAM https://github.com/sassoftware/python-rpm-vercmp/pull/3 Patch1: fix-circumflex-handling.patch Patch2: remove-pbr-dependency.patch BuildRequires: %{saltbundlepy_module base >= 3.10} BuildRequires: %{saltbundlepy_module pytest} BuildRequires: %{saltbundlepy_module requests} BuildRequires: %{saltbundlepy_module setuptools} BuildRequires: fdupes BuildRequires: saltbundlepy-rpm-macros Requires: saltbundlepy-base BuildArch: noarch %python_subpackages %description The RPM Package Manager (http://rpm.org) has a version comparision algorithm, implemented in its C library, which performs the comparison in a certain way. In certain circumstances, where the C library is not installable (for example, on non-rpm based systems), or does not support the desired version of the python interpreter, the pure-python implementation may be useful. %prep %setup -q -n rpm_vercmp-%{version} %autopatch -p1 %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check cp %{S:1} rpm_vercmp/tests/ %pytest %files %{python_files} %license LICENSE %doc ChangeLog README.rst %{python_sitelib}/rpm_vercmp* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor