Projects
Eulaceura:Factory
python-pyrpm
_service:obs_scm:python-pyrpm.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:python-pyrpm.spec of Package python-pyrpm
%global repo_name python-rpm-spec %bcond_without tests Name: python-pyrpm Version: 0.15 Release: 1 Summary: python-pyrpm is a Python library for parsing RPM spec files License: MIT URL: https://github.com/bkircher/%{repo_name} Source0: %url/archive/v%{version}/%{repo_name}-%{version}.tar.gz BuildArch: noarch %description python-pyrpm is a Python library for parsing RPM spec files. This module allows you to parse spec files and gives you simple access to various bits of information that is contained in the spec file. %package -n python3-pyrpm Summary: python3-pyrpm is a Python 3 library for parsing RPM spec files Provides: python-rpm-spec = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-pip python3-wheel python3-flit %if %{with tests} BuildRequires: python3-pytest %endif %description -n python3-pyrpm It is a Python 3 library for python-pyrpm. %package help Summary: Development documents and examples for python3-pyrpm Provides: python3-python-rpm-spec-doc %description help It is a Python 3 library for python-pyrpm. %prep %autosetup -n python-rpm-spec-%{version} %build %pyproject_build %install %pyproject_install python-rpm-spec==%{version} install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi %check %if %{with tests} py.test-%{python3_version} -vv tests || : %endif %files -n python3-pyrpm %{python3_sitelib}/* %license LICENSE %doc README.md AUTHORS examples %changelog * Wed Sep 04 2024 xu_ping <707078654@qq.com> - 0.15-1 - Upgrade version to 0.15 Add support for Python 3.12 Drop support for Python 3.7 * Mon Apr 24 2023 Ge Wang <wang__ge@126.com> - 0.14.1-2 - Use pyproject to compile package * Tue Apr 11 2023 Ge Wang <wang--ge@126.com> - 0.14.1-1 - Update package to version 0.14.1 * Fri Nov 25 2022 wangjunqi <wangjunqi@kylinos.cn> - 0.13-1 - Update package to version 0.13 * Tue Sep 29 2020 Leo Fang <leofang_94@163.com> - Package Init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2