From 79d19c4c587d55b02692c0d3d9a62dfddc29a67b30dce4b64ab5187021346b55 Mon Sep 17 00:00:00 2001 From: Luciano Santos Date: Sat, 6 May 2023 22:30:44 +0000 Subject: [PATCH] Accepting request 1085257 from home:luc14n0:branches:devel:libraries:c_c++ Remove lang package recommendation and make bscalc package noarch. OBS-URL: https://build.opensuse.org/request/show/1085257 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbytesize?expand=0&rev=17 --- libbytesize.changes | 8 ++++++++ libbytesize.spec | 9 +++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/libbytesize.changes b/libbytesize.changes index 6979d76..81ec87f 100644 --- a/libbytesize.changes +++ b/libbytesize.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sat May 6 21:46:55 UTC 2023 - Luciano Santos + +- Drop lang sub-package recommendation. It's not needed anymore now + that lang packages provide package supplementation instead. +- Make bscalc sub-package 'noarch', since it doesn't contain any + binaries, only a Python script and its manpage. + ------------------------------------------------------------------- Thu May 4 23:44:06 UTC 2023 - Dirk Müller diff --git a/libbytesize.spec b/libbytesize.spec index 97dcc7c..5d41780 100644 --- a/libbytesize.spec +++ b/libbytesize.spec @@ -26,6 +26,7 @@ License: LGPL-2.1-only Group: Development/Libraries/C and C++ URL: https://github.com/storaged-project/libbytesize Source: https://github.com/storaged-project/libbytesize/releases/download/%{version}/%{name}-%{version}.tar.gz + BuildRequires: gcc BuildRequires: gmp-devel BuildRequires: gtk-doc @@ -33,7 +34,6 @@ BuildRequires: mpfr-devel BuildRequires: pkgconfig BuildRequires: python3-devel BuildRequires: pkgconfig(libpcre2-8) -Recommends: %{name}-lang %description The LibBytesize is a C library that facilitates work with sizes in @@ -53,9 +53,10 @@ representation of a size in bytes. This library takes localization into account. It also provides support for sizes bigger than MAXUINT64. %package -n bscalc -Summary: A utility for workign with sizes in bytes +Summary: A utility for working with sizes in bytes Group: System/Libraries Requires: %{libname} = %{version} +BuildArch: noarch %description -n bscalc The LibBytesize is a C library that facilitates work with sizes in @@ -90,8 +91,8 @@ the library from Python 3 easier and more convenient. %build %configure \ --disable-static \ - --with-python3 \ - --with-gtk-doc + --with-python3 \ + --with-gtk-doc %make_build %install