Accepting request 1118338 from home:alarrosa:branches:KDE:Frameworks5

- Fix the documentation being put in the devel subpackage while
  the doc subpackage was empty. I think the doc %files section was
  probably removed inadvertently since it wasn't mentioned in the
  changelog and the doc subpackage declaration was left around.
- Moved the appstreamcli-compose man page to the same package
  as the binary.
- Make AppStream-compose-devel explicitly require 
  libappstream-compose0 to stop rpmlint from reporting an error.

OBS-URL: https://build.opensuse.org/request/show/1118338
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=100
This commit is contained in:
Fabian Vogt 2023-10-17 15:19:59 +00:00 committed by Git OBS Bridge
parent cd12ac85e1
commit e676e4427e
2 changed files with 16 additions and 1 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Oct 16 15:08:27 UTC 2023 - Antonio Larrosa <alarrosa@suse.com>
- Fix the documentation being put in the devel subpackage while
the doc subpackage was empty. I think the doc %files section was
probably removed inadvertently since it wasn't mentioned in the
changelog and the doc subpackage declaration was left around.
- Moved the appstreamcli-compose man page to the same package
as the binary.
- Make AppStream-compose-devel explicitly require
libappstream-compose0 to stop rpmlint from reporting an error.
-------------------------------------------------------------------
Tue Oct 3 05:30:07 UTC 2023 - Antonio Larrosa <alarrosa@suse.com>

View File

@ -117,6 +117,7 @@ License: GPL-2.0-or-later AND LGPL-2.1-or-later
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
Requires: AppStream-compose = %{version}
Requires: libappstream-compose%{libappstream_compose_sover}
%description compose-devel
This package contains all necessary files, libraries,
@ -224,6 +225,7 @@ rm -r %{buildroot}%{_datadir}/installed-tests
%files compose
%{_datadir}/metainfo/org.freedesktop.appstream.compose.metainfo.xml
%{_libexecdir}/appstreamcli-compose
%{_mandir}/man1/appstreamcli-compose*.1.gz
%files -n libappstream-compose%{libappstream_compose_sover}
%{_libdir}/libappstream-compose.so.%{version}
@ -247,8 +249,9 @@ rm -r %{buildroot}%{_datadir}/installed-tests
%{_datadir}/vala/vapi/appstream.deps
%{_datadir}/vala/vapi/appstream.vapi
%endif
%files doc
%{_datadir}/doc/appstream
%{_mandir}/man1/appstreamcli-compose*.1.gz
%files -n typelib-1_0-AppStream-1.0
%{_libdir}/girepository-1.0/AppStream-1.0.typelib