diff --git a/libbytesize.changes b/libbytesize.changes index a0b938a..f5aa0e3 100644 --- a/libbytesize.changes +++ b/libbytesize.changes @@ -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 diff --git a/libbytesize.spec b/libbytesize.spec index 36b1435..3f681d1 100644 --- a/libbytesize.spec +++ b/libbytesize.spec @@ -34,6 +34,7 @@ BuildRequires: mpfr-devel BuildRequires: python3-devel %{?with_python2:BuildRequires: python2-devel} BuildRequires: pkgconfig(libpcre) >= 8.32 +Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -45,6 +46,7 @@ account. It also provides support for sizes bigger than MAXUINT64. %package -n %{libname} Group: System/Libraries Summary: A library for working with sizes in bytes +Provides: %{name} = %{version} %description -n %{libname} 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 %make_install 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. # A feature request has been upstreamed for python 2 switch (gh#storaged-project/libbytesize#45).