Accepting request 972921 from home:jengelh:branches:devel:libraries:c_c++
- Employ shared library packaging guideline and resolve this rpmlint report: "libaugeas0.x86_64: E: shlib-policy-name-error SONAME: libfa.so.1, expected package suffix: 1" [boo#1191749] OBS-URL: https://build.opensuse.org/request/show/972921 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/augeas?expand=0&rev=92
This commit is contained in:
parent
12609a8671
commit
c7a6e09db4
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 26 08:43:24 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Employ shared library packaging guideline and resolve this
|
||||||
|
rpmlint report: "libaugeas0.x86_64: E: shlib-policy-name-error
|
||||||
|
SONAME: libfa.so.1, expected package suffix: 1" [boo#1191749]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 24 12:11:08 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
Thu Mar 24 12:11:08 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
43
augeas.spec
43
augeas.spec
@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define libname lib%{name}0
|
|
||||||
Name: augeas
|
Name: augeas
|
||||||
Version: 1.12.0
|
Version: 1.12.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -49,7 +48,8 @@ file format and the transformation into a tree.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: A library for changing configuration files
|
Summary: A library for changing configuration files
|
||||||
Requires: %{libname} = %{version}
|
Requires: libaugeas0 = %{version}
|
||||||
|
Requires: libfa1 = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
A library for programmatically editing configuration files. Augeas
|
A library for programmatically editing configuration files. Augeas
|
||||||
@ -57,15 +57,11 @@ parses configuration files into a tree structure, which it exposes
|
|||||||
through its public API. Changes made through the API are written back
|
through its public API. Changes made through the API are written back
|
||||||
to the initially read files.
|
to the initially read files.
|
||||||
|
|
||||||
The transformation works very hard to preserve comments and formatting
|
%package -n libaugeas0
|
||||||
details. It is controlled by ``lens'' definitions that describe the
|
|
||||||
file format and the transformation into a tree.
|
|
||||||
|
|
||||||
%package -n %{libname}
|
|
||||||
Summary: A library for changing configuration files
|
Summary: A library for changing configuration files
|
||||||
Recommends: %{name}-lenses = %{version}
|
Recommends: %{name}-lenses = %{version}
|
||||||
|
|
||||||
%description -n %{libname}
|
%description -n libaugeas0
|
||||||
A library for programmatically editing configuration files. Augeas
|
A library for programmatically editing configuration files. Augeas
|
||||||
parses configuration files into a tree structure, which it exposes
|
parses configuration files into a tree structure, which it exposes
|
||||||
through its public API. Changes made through the API are written back
|
through its public API. Changes made through the API are written back
|
||||||
@ -75,9 +71,15 @@ The transformation works very hard to preserve comments and formatting
|
|||||||
details. It is controlled by ``lens'' definitions that describe the
|
details. It is controlled by ``lens'' definitions that describe the
|
||||||
file format and the transformation into a tree.
|
file format and the transformation into a tree.
|
||||||
|
|
||||||
|
%package -n libfa1
|
||||||
|
Summary: Finite automaton library for Augeas
|
||||||
|
|
||||||
|
%description -n libfa1
|
||||||
|
Component library for the Augeas configuration parser.
|
||||||
|
|
||||||
%package lenses
|
%package lenses
|
||||||
Summary: Official set of lenses for use by %{libname}
|
Summary: Official set of lenses for use by libaugeas
|
||||||
Requires: %{libname} = %{version}
|
Requires: libaugeas0 = %{version}
|
||||||
|
|
||||||
%description lenses
|
%description lenses
|
||||||
Augeas parses configuration files described in lenses into a tree
|
Augeas parses configuration files described in lenses into a tree
|
||||||
@ -96,13 +98,7 @@ Set of tests for official Augeas lenses. These can be used when
|
|||||||
modifying the official lenses, or when creating new ones.
|
modifying the official lenses, or when creating new ones.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch0 -p1
|
|
||||||
%patch1 -p1
|
|
||||||
%patch2 -p1
|
|
||||||
%patch3 -p1
|
|
||||||
%patch4 -p1
|
|
||||||
%patch5 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
@ -120,8 +116,10 @@ mv %{buildroot}/%{_datadir}/vim/vimfiles %{buildroot}/%{_datadir}/vim/site
|
|||||||
%check
|
%check
|
||||||
%make_build check
|
%make_build check
|
||||||
|
|
||||||
%post -n %{libname} -p /sbin/ldconfig
|
%post -n libaugeas0 -p /sbin/ldconfig
|
||||||
%postun -n %{libname} -p /sbin/ldconfig
|
%postun -n libaugeas0 -p /sbin/ldconfig
|
||||||
|
%post -n libfa1 -p /sbin/ldconfig
|
||||||
|
%postun -n libfa1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -132,8 +130,11 @@ mv %{buildroot}/%{_datadir}/vim/vimfiles %{buildroot}/%{_datadir}/vim/site
|
|||||||
%{_bindir}/fadot
|
%{_bindir}/fadot
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%files -n %{libname}
|
%files -n libaugeas0
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/libaugeas.so.*
|
||||||
|
|
||||||
|
%files -n libfa1
|
||||||
|
%{_libdir}/libfa.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
libaugeas0
|
libaugeas0
|
||||||
|
libfa1
|
||||||
augeas-devel
|
augeas-devel
|
||||||
requires -augeas-<targettype>
|
requires -augeas-<targettype>
|
||||||
requires "libaugeas0-<targettype> = <version>"
|
requires "libaugeas0-<targettype> = <version>"
|
||||||
|
requires "libfa1-<targettype> = <version>"
|
||||||
|
Loading…
Reference in New Issue
Block a user