Don't conditionalize Source: directives

This makes the specfile compatible with Fedora ELN, RHEL and
similar Fedora derivatives.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2021-06-10 14:27:29 -04:00
parent bcc2ec8af9
commit fe349e0ac6
No known key found for this signature in database
GPG Key ID: 45DB85A568286D11
3 changed files with 6 additions and 3 deletions

1
.gitignore vendored
View File

@ -38,3 +38,4 @@
/cryptography-3.4.6.tar.gz /cryptography-3.4.6.tar.gz
/cryptography-3.4.6.tar.gz.asc /cryptography-3.4.6.tar.gz.asc
/cryptography-3.4.7.tar.gz /cryptography-3.4.7.tar.gz
/cryptography-3.4.7-vendor.tar.bz2

View File

@ -7,17 +7,15 @@
Name: python-%{srcname} Name: python-%{srcname}
Version: 3.4.7 Version: 3.4.7
Release: 3%{?dist} Release: 4%{?dist}
Summary: PyCA's cryptography library Summary: PyCA's cryptography library
License: ASL 2.0 or BSD License: ASL 2.0 or BSD
URL: https://cryptography.io/en/latest/ URL: https://cryptography.io/en/latest/
Source0: https://github.com/pyca/cryptography/archive/%{version}/%{srcname}-%{version}.tar.gz Source0: https://github.com/pyca/cryptography/archive/%{version}/%{srcname}-%{version}.tar.gz
%if 0%{?rhel}
# created by ./vendor_rust.py helper script # created by ./vendor_rust.py helper script
Source1: cryptography-%{version}-vendor.tar.bz2 Source1: cryptography-%{version}-vendor.tar.bz2
Source2: conftest-skipper.py Source2: conftest-skipper.py
%endif
Patch0001: 0001-fix-pkcs12-parse-ordering.-fixes-5872-5879.patch Patch0001: 0001-fix-pkcs12-parse-ordering.-fixes-5872-5879.patch
Patch0002: 0002-WIP-3.0.0-support-5250.patch Patch0002: 0002-WIP-3.0.0-support-5250.patch
Patch0003: 0003-switch-to-using-EVP_PKEY_derive-instead-of-DH_comput.patch Patch0003: 0003-switch-to-using-EVP_PKEY_derive-instead-of-DH_comput.patch
@ -121,6 +119,9 @@ PYTHONPATH=${PWD}/vectors:%{buildroot}%{python3_sitearch} \
%{python3_sitearch}/%{srcname}-%{version}-py*.egg-info %{python3_sitearch}/%{srcname}-%{version}-py*.egg-info
%changelog %changelog
* Thu Jun 10 2021 Stephen Gallagher <sgallagh@redhat.com> - 3.4.7-4
- Don't conditionalize Source: directives
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 3.4.7-3 * Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 3.4.7-3
- Rebuilt for Python 3.10 - Rebuilt for Python 3.10

View File

@ -1 +1,2 @@
SHA512 (cryptography-3.4.7.tar.gz) = e76d0949fbaca06d2f72805bdce8ea85056ae45b978f51d70d1367bbfb1067e9db76a9f080f890e95ec52c788a3d2fd3ba0a286901f97ee2911ebd7a7a8f71a9 SHA512 (cryptography-3.4.7.tar.gz) = e76d0949fbaca06d2f72805bdce8ea85056ae45b978f51d70d1367bbfb1067e9db76a9f080f890e95ec52c788a3d2fd3ba0a286901f97ee2911ebd7a7a8f71a9
SHA512 (cryptography-3.4.7-vendor.tar.bz2) = 67060536b5d48e0497290fb3307329d57e9ac56cb9ee13c2fb1b2f93d059872d411d9dbff3f00bece23a8593d667799de86630b3748337b204f8776ef3f0a387