Accepting request 1101916 from devel:languages:misc

OBS-URL: https://build.opensuse.org/request/show/1101916
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnu-cobol?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2023-08-02 14:50:40 +00:00 committed by Git OBS Bridge
commit 48cbb465f9
2 changed files with 12 additions and 14 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jul 15 18:11:27 UTC 2023 - Sarah Kriesch <sarah.kriesch@opensuse.org>
- 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 <aloisio@gmx.com>

View File

@ -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