2017.7-3: rename libs pkg to rpm-ostree-libs

Tweak new pkg name to rpm-ostree-libs to be more consistent with the
main package name and ostree's ostree-libs.
This commit is contained in:
Jonathan Lebon 2017-07-21 09:17:27 -07:00
parent 821808ecc7
commit 0cf999b064

View File

@ -1,7 +1,7 @@
Summary: Hybrid image/package system Summary: Hybrid image/package system
Name: rpm-ostree Name: rpm-ostree
Version: 2017.7 Version: 2017.7
Release: 2%{?dist} Release: 3%{?dist}
#VCS: https://github.com/cgwalters/rpm-ostree #VCS: https://github.com/cgwalters/rpm-ostree
# This tarball is generated via "make -f Makefile.dist-packaging dist-snapshot" # This tarball is generated via "make -f Makefile.dist-packaging dist-snapshot"
Source0: rpm-ostree-%{version}.tar.xz Source0: rpm-ostree-%{version}.tar.xz
@ -68,22 +68,20 @@ Additionally, unlike many "pure" image systems, with rpm-ostree
each client system can layer on additional packages, providing each client system can layer on additional packages, providing
a "best of both worlds" approach. a "best of both worlds" approach.
%package -n librpmostree %package libs
Summary: Shared library for rpm-ostree Summary: Shared library for rpm-ostree
Group: Development/Libraries Group: Development/Libraries
%description -n librpmostree %description libs
The librpmostree package includes the shared library for %{name}. The %{name}-libs package includes the shared library for %{name}.
# Renamed to librpmostree in 2017.7-2 %package devel
%package -n librpmostree-devel
Summary: Development headers for %{name} Summary: Development headers for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: librpmostree = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
Obsoletes: %{name}-devel < 2017.7-2
%description -n librpmostree-devel %description devel
The librpmostree-devel package includes the header files for librpmostree. The %{name}-devel package includes the header files for %{name}-libs.
%prep %prep
%autosetup -Sgit -n %{name}-%{version} %autosetup -Sgit -n %{name}-%{version}
@ -145,17 +143,21 @@ python autofiles.py > files.devel \
%files -f files %files -f files
%doc COPYING README.md %doc COPYING README.md
%files -n librpmostree -f files.lib %files libs -f files.lib
%files -n librpmostree-devel -f files.devel %files devel -f files.devel
%changelog %changelog
* Fri Jul 21 2017 Jonathan Lebon <jlebon@redhat.com> - 2017.7-3
- Tweak new pkg name to rpm-ostree-libs to be more consistent with the main
package name and ostree's ostree-libs.
* Fri Jul 21 2017 Colin Walters <walters@verbum.org> - 2017.7-2 * Fri Jul 21 2017 Colin Walters <walters@verbum.org> - 2017.7-2
- Enable introspection, rename shared lib to librpmostree - Enable introspection, rename shared lib to librpmostree
Due to an oversight, we were not actually building with introspection. Due to an oversight, we were not actually building with introspection.
Fix that. And while we are here, split out a shared library package, Fix that. And while we are here, split out a shared library package,
so that e.g. containers can do `from gi.repository import RpmOstree` so that e.g. containers can do `from gi.repository import RpmOstree`
without dragging in the systemd service, etc. without dragging in the systemd service, etc. (RHBZ#1473701)
* Mon Jul 10 2017 Jonathan Lebon <jlebon@redhat.com> - 2017.7-1 * Mon Jul 10 2017 Jonathan Lebon <jlebon@redhat.com> - 2017.7-1
- New upstream version - New upstream version