Accepting request 1180123 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/1180123
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libbytesize?expand=0&rev=12
This commit is contained in:
Ana Guerrero 2024-06-13 13:37:32 +00:00 committed by Git OBS Bridge
commit ec136c69ac
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jun 10 21:50:54 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Add %python3_fix_shebang to fix binaries dependency on
/usr/bin/python3
-------------------------------------------------------------------
Wed Nov 1 20:25:24 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package libbytesize
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -33,6 +33,7 @@ BuildRequires: gmp-devel
BuildRequires: gtk-doc
BuildRequires: mpfr-devel
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: python3-devel
BuildRequires: pkgconfig(libpcre2-8)
@ -98,6 +99,7 @@ install -m 644 -t . %{SOURCE1}
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%find_lang %{name} %{?no_lang_C}
%python3_fix_shebang
%post -n libbytesize%{soversion} -p /sbin/ldconfig
%postun -n libbytesize%{soversion} -p /sbin/ldconfig