Skip to content

Commit

Permalink
Update python-pyasn1-modules to 0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Odilhao committed Oct 22, 2024
1 parent 8cc1fdc commit 80b3122
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
1 change: 0 additions & 1 deletion packages/python-pyasn1-modules/pyasn1-modules-0.2.8.tar.gz

This file was deleted.

1 change: 1 addition & 0 deletions packages/python-pyasn1-modules/pyasn1_modules-0.4.1.tar.gz
23 changes: 13 additions & 10 deletions packages/python-pyasn1-modules/python-pyasn1-modules.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@

# Created by pyp2rpm-3.3.8
%global pypi_name pyasn1-modules
%global src_name pyasn1_modules

Name: python-%{pypi_name}
Version: 0.2.8
Release: 5%{?dist}
Version: 0.4.1
Release: 1%{?dist}
Summary: A collection of ASN.1-based protocols modules

License: BSD-2-Clause
URL: https://github.com/etingof/pyasn1-modules
Source0: https://files.pythonhosted.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
URL: https://github.com/pyasn1/pyasn1-modules
Source0: https://files.pythonhosted.org/packages/source/p/%{src_name}/%{src_name}-%{version}.tar.gz
BuildArch: noarch

BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-pyasn1 >= 0.4.6
BuildRequires: python%{python3_pkgversion}-setuptools


Expand All @@ -27,7 +27,7 @@ BuildRequires: python%{python3_pkgversion}-setuptools
Summary: %{summary}
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
Requires: python%{python3_pkgversion}-pyasn1 >= 0.4.6
Conflicts: python%{python3_pkgversion}-pyasn1 > 0.6
Requires: python%{python3_pkgversion}-pyasn1 < 0.7.0


%description -n python%{python3_pkgversion}-%{pypi_name}
Expand All @@ -36,9 +36,9 @@ Conflicts: python%{python3_pkgversion}-pyasn1 > 0.6

%prep
set -ex
%autosetup -n %{pypi_name}-%{version}
%autosetup -n %{src_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
rm -rf %{src_name}.egg-info


%build
Expand All @@ -54,11 +54,14 @@ set -ex
%files -n python%{python3_pkgversion}-%{pypi_name}
%license LICENSE.txt
%doc README.md
%{python3_sitelib}/pyasn1_modules
%{python3_sitelib}/pyasn1_modules-%{version}-py%{python3_version}.egg-info
%{python3_sitelib}/%{src_name}
%{python3_sitelib}/%{src_name}-%{version}-py%{python3_version}.egg-info


%changelog
* Tue Oct 22 2024 Odilon Sousa <osousa@redhat.com> - 0.4.1-1
- Release python-pyasn1-modules 0.4.1

* Tue Jan 16 2024 Odilon Sousa <osousa@redhat.com> - 0.2.8-5
- Remove SCL bits

Expand Down

0 comments on commit 80b3122

Please sign in to comment.