Accepting request 1127662 from devel:libraries:c_c++

- remove botan binary (moves to Botan3)

OBS-URL: https://build.opensuse.org/request/show/1127662
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Botan?expand=0&rev=64
This commit is contained in:
Ana Guerrero 2023-11-20 20:20:14 +00:00 committed by Git OBS Bridge
commit 144e30991d
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>

View File

@ -1,7 +1,7 @@
#
# 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
# 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
sed -i '1s@^#!/.*@#!%{_bindir}/python3@' %{buildroot}%{python3_sitearch}/botan2.py
rm %{buildroot}%{_bindir}/botan
%check
%make_build check
%post -n libbotan-%{version_suffix} -p /sbin/ldconfig
%postun -n libbotan-%{version_suffix} -p /sbin/ldconfig
%files
%{_bindir}/botan
%files doc
%docdir %{botan_docdir}
%{botan_docdir}