diff --git a/botan.spec b/botan.spec index 9952a0b..60ea47f 100644 --- a/botan.spec +++ b/botan.spec @@ -1,5 +1,6 @@ +%define apiver %(echo %version | cut -d. -f1) Name: botan -Version: 2.19.3 +Version: 3.1.1 Release: 1mamba Summary: A C++ cryptography library released under the permissive Simplified BSD license Group: System/Libraries @@ -12,7 +13,7 @@ License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc -BuildRequires: libpython3-devel +BuildRequires: libpython310-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} @@ -42,7 +43,7 @@ This package contains libraries and header files for developing applications tha %setup -q %build -%{__python3} configure.py \ +%{__python310} configure.py \ --prefix=%{_prefix} \ --libdir=%{_libdir} @@ -65,18 +66,18 @@ This package contains libraries and header files for developing applications tha %files -n lib%{name} %defattr(-,root,root) -%{_libdir}/libbotan-2.so.* -%{python3_sitearch}/botan2.py +%{_libdir}/libbotan-%{apiver}.so.* +%{python310_sitearch}/botan%{apiver}.py %doc license.txt %files -n lib%{name}-devel %defattr(-,root,root) -%dir %{_includedir}/botan-2 -%dir %{_includedir}/botan-2/botan -%{_includedir}/botan-2/botan/*.h -%{_libdir}/libbotan-2.a -%{_libdir}/libbotan-2.so -%{_libdir}/pkgconfig/botan-2.pc +%dir %{_includedir}/botan-%{apiver} +%dir %{_includedir}/botan-%{apiver}/botan +%{_includedir}/botan-%{apiver}/botan/*.h +%{_libdir}/libbotan-%{apiver}.a +%{_libdir}/libbotan-%{apiver}.so +%{_libdir}/pkgconfig/botan-%{apiver}.pc %dir %{_docdir}/botan-%{version} %{_docdir}/botan-%{version}/*.txt %dir %{_docdir}/botan-%{version}/handbook @@ -86,6 +87,15 @@ This package contains libraries and header files for developing applications tha %{_docdir}/botan-%{version}/handbook/.buildinfo %changelog +* Thu Jul 13 2023 Automatic Build System 3.1.1-1mamba +- automatic version update by autodist + +* Wed Jul 12 2023 Automatic Build System 3.1.0-1mamba +- automatic version update by autodist + +* Thu Apr 13 2023 Automatic Build System 3.0.0-1mamba +- automatic version update by autodist + * Thu Nov 17 2022 Automatic Build System 2.19.3-1mamba - automatic version update by autodist