Accepting request 573383 from home:luc14n0:branches:devel:libraries:c_c++
Add a Recommends and a Provides tags turning the lang package installable. OBS-URL: https://build.opensuse.org/request/show/573383 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbytesize?expand=0&rev=3
This commit is contained in:
parent
865f02870e
commit
c5a9193937
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 6 15:06:08 UTC 2018 - luc14n0@linuxmail.org
|
||||||
|
|
||||||
|
- Add a %{name}-lang Recommends tag in the preamble and a %{name}
|
||||||
|
Provides tag under the lib subpackage so the lang subpackge can
|
||||||
|
be installable.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 5 19:11:19 UTC 2018 - jengelh@inai.de
|
Mon Feb 5 19:11:19 UTC 2018 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -34,6 +34,7 @@ BuildRequires: mpfr-devel
|
|||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
%{?with_python2:BuildRequires: python2-devel}
|
%{?with_python2:BuildRequires: python2-devel}
|
||||||
BuildRequires: pkgconfig(libpcre) >= 8.32
|
BuildRequires: pkgconfig(libpcre) >= 8.32
|
||||||
|
Recommends: %{name}-lang
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -45,6 +46,7 @@ account. It also provides support for sizes bigger than MAXUINT64.
|
|||||||
%package -n %{libname}
|
%package -n %{libname}
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Summary: A library for working with sizes in bytes
|
Summary: A library for working with sizes in bytes
|
||||||
|
Provides: %{name} = %{version}
|
||||||
|
|
||||||
%description -n %{libname}
|
%description -n %{libname}
|
||||||
The LibBytesize is a C library that facilitates work with sizes in
|
The LibBytesize is a C library that facilitates work with sizes in
|
||||||
@ -97,7 +99,7 @@ the library from Python 3 easier and more convenient.
|
|||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
find %{buildroot} -name '*.la' -type f -delete -print
|
find %{buildroot} -name '*.la' -type f -delete -print
|
||||||
%find_lang %{name}
|
%find_lang %{name} %{?no_lang_C}
|
||||||
|
|
||||||
# If python2 bindings are switched off this directory appears.
|
# If python2 bindings are switched off this directory appears.
|
||||||
# A feature request has been upstreamed for python 2 switch (gh#storaged-project/libbytesize#45).
|
# A feature request has been upstreamed for python 2 switch (gh#storaged-project/libbytesize#45).
|
||||||
|
Loading…
Reference in New Issue
Block a user