#1 Restore the devel package on Fedora 31 and 32
Merged 3 years ago by limb. Opened 3 years ago by churchyard.
rpms/ churchyard/compat-openssl10 devel  into  master

file modified
+5 -13
@@ -22,7 +22,7 @@ 

  Summary: Compatibility version of the OpenSSL library

  Name: compat-openssl10

  Version: 1.0.2o

- Release: 7%{?dist}

+ Release: 8%{?dist}

  Epoch: 1

  # We have to remove certain patented algorithms from the openssl source

  # tarball with the hobble-openssl script which is included below.
@@ -115,7 +115,7 @@ 

  and is provided for compatibility with previous releases and software

  that does not support compilation with OpenSSL-1.1.

  

- %if 0%{?fedora} < 31 && 0%{?rhel} == 0

+ 

  %package devel

  Summary: Files for development of applications which have to use OpenSSL-1.0.2

  Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
@@ -134,7 +134,6 @@ 

  that does not support compilation with OpenSSL-1.1. This package

  contains include files needed to develop applications which

  support various cryptographic algorithms and protocols.

- %endif

  

  %prep

  %setup -q -n openssl-%{version}
@@ -383,14 +382,6 @@ 

  # Remove engines

  rm -rf $RPM_BUILD_ROOT/%{_libdir}/openssl

  

- %if 0%{?fedora} >= 31 || 0%{?rhel} != 0

- # Delete devel files

- rm -rf $RPM_BUILD_ROOT%{_includedir}/openssl

- rm -rf $RPM_BUILD_ROOT%{_mandir}/man3*

- rm -rf $RPM_BUILD_ROOT%{_libdir}/*.so

- rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig

- %endif

- 

  # Install compat config file

  install -m 644 apps/openssl10.cnf $RPM_BUILD_ROOT%{_sysconfdir}/pki/openssl10.cnf

  
@@ -410,18 +401,19 @@ 

  %dir %{_sysconfdir}/pki

  %attr(0644,root,root) %{_sysconfdir}/pki/openssl10.cnf

  

- %if 0%{?fedora} < 31 && 0%{?rhel} == 0

  %files devel

  %doc doc/c-indentation.el doc/openssl.txt CHANGES

  %{_prefix}/include/openssl

  %attr(0755,root,root) %{_libdir}/*.so

  %attr(0644,root,root) %{_mandir}/man3*/*

  %attr(0644,root,root) %{_libdir}/pkgconfig/*.pc

- %endif

  

  %ldconfig_scriptlets

  

  %changelog

+ * Tue Sep 10 2019 Miro Hrončok <mhroncok@redhat.com> - 1:1.0.2o-8

+ - Restore the devel package on Fedora 31 and 32 (#1673419)

+ 

  * Tue Sep 10 2019 Gwyn Ciesla <gwync@protonmail.com> - 1:1.0.2o-7

  - Patch for CVE-2018-0737, CVE-2018-0732, CVE-2018-0734, CVE-2019-1552, CVE-2019-1559