automatic version update by autodist [release 3.0.0-1mamba;Fri Sep 24 2021]

This commit is contained in:
Automatic Build System 2024-01-06 08:16:19 +01:00
parent d321d82884
commit b63776b2c8

View File

@ -1,7 +1,7 @@
%define soversion %(echo %version | cut -d. -f1-2)
%define soversion %(echo %version | cut -d. -f1)
%define fullversion %(echo %version | tr -d [:alpha:])
Name: openssl
Version: 1.1.1l
Version: 3.0.0
Release: 1mamba
Summary: Secure Sockets Layer communications libs and utils
Group: Network/Security
@ -22,7 +22,6 @@ BuildRequires: libz-devel
BuildRequires: perl-WWW-Curl
BuildRequires: perl-devel
## AUTOBUILDREQ-END
#BuildRequires: perl-WWW-Curl
BuildRequires: perl-devel
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
@ -46,7 +45,7 @@ This product includes software written by Tim Hudson (tjh@cryptsoft.com).
Summary: Library Devel for OpenSSL
Group: Development/Libraries
Requires: lib%{name} = %{version}-%{release}
Obsoletes: libopenssl097-devel
Obsoletes: libopenssl097-devel < 3.0.0
%description -n lib%{name}-devel
Library symlinks and include files needed to compile apps with support for various cryptographic algorithms and protocols, including DES, RC4, RSA and SSL.
@ -68,11 +67,6 @@ Static libraries needed to compile apps with support for various cryptographic a
%prep
%setup -q -n openssl-%{version}
#-D -T
#%patch0 -p1
# Using Fedora versioning patch
#%patch1 -p1
#sed -i 's/SHLIB_VERSION_NUMBER "1.0.0"/SHLIB_VERSION_NUMBER "%{version}"/' crypto/opensslv.h
%build
#:<< _EOF
@ -90,7 +84,7 @@ Static libraries needed to compile apps with support for various cryptographic a
enable-ec_nistp_64_gcc_128 \
%endif
%ifarch arm
linux-generic32 \
linux-latomic \
%endif
%ifarch aarch64
linux-aarch64 \
@ -135,12 +129,12 @@ done
%makeinstall libdir=%{_libdir}
rename so.%{soversion} so.%{fullversion} %{buildroot}%{_libdir}/*.so.%{soversion}
for lib in %{buildroot}%{_libdir}/*.so.%{fullversion} ; do
chmod 755 ${lib}
ln -s -f `basename ${lib}` $RPM_BUILD_ROOT%{_libdir}/`basename ${lib} .%{fullversion}`
ln -s -f `basename ${lib}` $RPM_BUILD_ROOT%{_libdir}/`basename ${lib} .%{fullversion}`.%{soversion}
done
#rename so.%{soversion} so.%{fullversion} %{buildroot}%{_libdir}/*.so.%{soversion}
#for lib in %{buildroot}%{_libdir}/*.so.%{fullversion} ; do
# chmod 755 ${lib}
# ln -s -f `basename ${lib}` $RPM_BUILD_ROOT%{_libdir}/`basename ${lib} .%{fullversion}`
# ln -s -f `basename ${lib}` $RPM_BUILD_ROOT%{_libdir}/`basename ${lib} .%{fullversion}`.%{soversion}
#done
chmod 755 %{buildroot}%{_libdir}/pkgconfig
chmod 644 %{buildroot}%{_libdir}/pkgconfig/*.pc
@ -202,7 +196,9 @@ install -m 0755 -D %{SOURCE1} %{buildroot}%{_sbindir}/openssl-makecerts
%{_libdir}/libssl.so.*
%dir %{_libdir}/engines-%{soversion}
%{_libdir}/engines-%{soversion}/*.so
%doc LICENSE
%dir %{_libdir}/ossl-modules
%{_libdir}/ossl-modules/legacy.so
%doc LICENSE.txt
%files -n lib%{name}-devel
%defattr(-,root,root)
@ -215,13 +211,16 @@ install -m 0755 -D %{SOURCE1} %{buildroot}%{_sbindir}/openssl-makecerts
%{_mandir}/man3/*
%dir %{_datadir}/doc/openssl
%{_datadir}/doc/openssl/*
%doc CHANGES* FAQ NEWS README*
%doc CHANGES* README*
%files -n lib%{name}-static
%defattr(-,root,root)
%{_libdir}/*.a
%changelog
* Fri Sep 24 2021 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
- automatic version update by autodist
* Wed Aug 25 2021 Automatic Build System <autodist@mambasoft.it> 1.1.1l-1mamba
- automatic version update by autodist