diff --git a/gnu-cobol.changes b/gnu-cobol.changes index a0d90c5..2d1fc19 100644 --- a/gnu-cobol.changes +++ b/gnu-cobol.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Jul 15 18:11:27 UTC 2023 - Sarah Kriesch + +- Move libcob-devel files to gnucobol.lang because libcob.h can not be found + (boo#1209438) + ------------------------------------------------------------------- Wed Dec 23 17:43:58 UTC 2020 - Luigi Baldoni diff --git a/gnu-cobol.spec b/gnu-cobol.spec index fba34d2..0df3b85 100644 --- a/gnu-cobol.spec +++ b/gnu-cobol.spec @@ -42,12 +42,15 @@ BuildRequires: pkgconfig(ncurses) >= 5.4 Requires(post): %{install_info_prereq} Requires(preun): %{install_info_prereq} Provides: opencobol = %{version} +Provides: libcob-devel = %{version} +Obsoletes: libcob-devel <= 3.1.2 %description GnuCOBOL (formerly OpenCOBOL) is a COBOL compiler. cobc translates COBOL to executable using intermediate C sources, providing full access to nearly all C libraries. + %package -n libcob%{sover} Summary: GnuCOBOL shared library License: LGPL-3.0-or-later @@ -58,16 +61,6 @@ GnuCOBOL (formerly OpenCOBOL) is a COBOL compiler. cobc translates COBOL to executable using intermediate C sources, providing full access to nearly all C libraries. -%package -n libcob-devel -Summary: Include files for the GnuCOBOL shared library -License: LGPL-3.0-or-later -Group: Development/Languages/Other -Requires: libcob%{sover} = %{version} - -%description -n libcob-devel -GnuCOBOL (formerly OpenCOBOL) is a COBOL compiler. -cobc translates COBOL to executable using intermediate C sources, -providing full access to nearly all C libraries. %prep %autosetup -p1 -n gnucobol-%{version} @@ -104,6 +97,9 @@ find %{buildroot} -type f -name "*.la" -delete -print %{_datadir}/gnucobol %{_infodir}/gnucobol.info%{?ext_info} %{_libdir}/gnucobol +%{_libdir}/libcob.so +%{_includedir}/libcob.h +%{_includedir}/libcob %{_mandir}/man1/cob-config.1%{ext_info} %{_mandir}/man1/cobc.1%{ext_info} %{_mandir}/man1/cobcrun.1%{ext_info} @@ -112,9 +108,5 @@ find %{buildroot} -type f -name "*.la" -delete -print %license COPYING.LESSER %{_libdir}/libcob.so.%{sover}* -%files -n libcob-devel -%{_includedir}/libcob.h -%{_includedir}/libcob -%{_libdir}/libcob.so %changelog