diff --git a/.bcunit.metadata b/.bcunit.metadata index 86f5ba6..e4ac1df 100644 --- a/.bcunit.metadata +++ b/.bcunit.metadata @@ -1 +1 @@ -8b66e4546089c30670b4f3e59bd1a170b17d9ba7 SOURCES/bcunit-5.3.5.tar.gz +9ca2cf42be850b8e03c3aa17d1dcb2bf0c314cc6 SOURCES/bcunit-5.3.54.tar.gz diff --git a/.gitignore b/.gitignore index 67cf38d..7f2486d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/bcunit-5.3.5.tar.gz +SOURCES/bcunit-5.3.54.tar.gz diff --git a/SPECS/bcunit.spec b/SPECS/bcunit.spec index fdc0d1b..9469096 100644 --- a/SPECS/bcunit.spec +++ b/SPECS/bcunit.spec @@ -1,13 +1,10 @@ %define major 1 -%define libname %{name}-libs -%define develname %{name}-devel Name: bcunit -Version: 5.3.5 -Release: %{major}%{?dist}.inferit +Version: 5.3.54 +Release: 1%{?dist}.inferit Summary: Provide C programmers basic testing functionality License: LGPLv2+ -Group: Development/C++ Url: https://linphone.org/ Source: https://gitlab.linphone.org/BC/public/bcunit/-/archive/%{version}/bcunit-%{version}.tar.gz # PATCH-FIX-OPENSUSE bcunit-link-ncurses.patch jengelh@medozas.de @@ -17,13 +14,15 @@ Patch1: bcunit-ncurses6.patch # PATCH-FIX-OPENSUSE bcunit-sover.patch sor.alexei@meowr.ru -- Correctly set the sover. Patch2: bcunit-sover.patch # mga patches -Patch100: bcunit-pkg-conf-pc.patch -Patch101: bcunit-CMake-files-location.patch -Patch102: bcunit-3.0.2-mga-string-format.patch +Patch100: bcunit-pkg-conf-pc.patch +Patch101: bcunit-CMake-files-location.patch +Patch102: bcunit-3.0.2-mga-string-format.patch BuildRequires: cmake BuildRequires: ncurses-devel BuildRequires: pkgconfig +Obsoletes: %{name}-libs < %{version}-%{release} + %description BCUnit is a unit testing framework for C, derived from CUnit. (B)CUnit provides various interfaces to the framework, some of which @@ -31,25 +30,15 @@ are platform dependent (e.g. curses on *nix). The framework complies with the conventional structure of test cases bundled into suites which are registered with the framework for running. -%package -n %{develname} +%package devel Summary: BCUnit development files -Group: Development/C++ -Requires: %{libname} = %{version}-%{release} -Provides: %{name}-devel = %{version}-%{release} +Requires: %{name} = %{version}-%{release} Obsoletes: %{name}-devel < 3.0.2-5 -%description -n %{develname} +%description devel BCUnit is a unit testing framework for C. This package installs the BCUnit development files. -%package -n %{libname} -Summary: BCUnit shared library -Group: System/Libraries - -%description -n %{libname} -BCUnit is a unit testing framework for C. -This package installs the BCUnit shared library. - %prep %autosetup -p1 -n %{name}-%{version} @@ -69,11 +58,11 @@ sed -i -e '/^project/s/\(VERSION\)\s\+"\?[0-9]\+\(\.[0-9]\+\)\+"\?/\1 %{version} %install %cmake_install -%files -n %{libname} +%files %license COPYING %{_libdir}/libbcunit.so.%{major}{,.*} -%files -n %{develname} +%files devel %doc AUTHORS ChangeLog NEWS README* TODO %{_includedir}/BCUnit/ %{_datadir}/BCUnit/ @@ -83,6 +72,10 @@ sed -i -e '/^project/s/\(VERSION\)\s\+"\?[0-9]\+\(\.[0-9]\+\)\+"\?/\1 %{version} %changelog +* Fri May 31 2024 Arkady L. Shane - 5.3.54-1.inferit +- update to 5.3.54 +- cleanup spec + * Wed May 29 2024 Sergey Cherevko - 5.3.5-1.inferit - Rebuilt for MSVSphere 9.4