- remove botan binary (moves to Botan3)

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Botan?expand=0&rev=115
This commit is contained in:
Marcus Meissner 2023-11-17 13:19:41 +00:00 committed by Git OBS Bridge
parent 20b1648d1b
commit f35c78cd27
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Nov 17 13:18:55 UTC 2023 - Marcus Meissner <meissner@suse.com>
- remove botan binary (moves to Botan3)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 17 21:26:01 UTC 2022 - Jason Sikes <jsikes@suse.com> Thu Nov 17 21:26:01 UTC 2022 - Jason Sikes <jsikes@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package Botan # spec file for package Botan
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -125,15 +125,14 @@ rm -f %{buildroot}/%{_libdir}/libbotan*.a
chmod +x %{buildroot}%{python3_sitearch}/botan2.py chmod +x %{buildroot}%{python3_sitearch}/botan2.py
sed -i '1s@^#!/.*@#!%{_bindir}/python3@' %{buildroot}%{python3_sitearch}/botan2.py sed -i '1s@^#!/.*@#!%{_bindir}/python3@' %{buildroot}%{python3_sitearch}/botan2.py
rm %{_bindir}/botan
%check %check
%make_build check %make_build check
%post -n libbotan-%{version_suffix} -p /sbin/ldconfig %post -n libbotan-%{version_suffix} -p /sbin/ldconfig
%postun -n libbotan-%{version_suffix} -p /sbin/ldconfig %postun -n libbotan-%{version_suffix} -p /sbin/ldconfig
%files
%{_bindir}/botan
%files doc %files doc
%docdir %{botan_docdir} %docdir %{botan_docdir}
%{botan_docdir} %{botan_docdir}