Accepting request 970876 from home:michals

- Split udev rules into a separate package
- Obsolete libvpd2 by udev rules
- Obsolete 32bit devel package

OBS-URL: https://build.opensuse.org/request/show/970876
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libvpd?expand=0&rev=3
This commit is contained in:
Michal Suchanek 2022-04-19 16:42:03 +00:00 committed by Git OBS Bridge
parent 53880e7c76
commit 73be06136e
2 changed files with 21 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Apr 19 16:06:53 UTC 2022 - Michal Suchanek <msuchanek@suse.com>
- Split udev rules into a separate package
- Obsolete libvpd2 by udev rules
- Obsolete 32bit devel package
-------------------------------------------------------------------
Thu Apr 14 19:06:30 UTC 2022 - Michal Suchanek <msuchanek@suse.com>

View File

@ -44,17 +44,28 @@ Product Data (VPD) database created by vpdupdate in the lsvpd package.
%package -n %{name}%{soversion}
Summary: VPD Database access library for lsvpd
Group: System/Libraries
Requires: %{name}-base
%description -n %{name}%{soversion}
The libvpd package contains classes that are used to access a Vital
Product Data (VPD) database created by vpdupdate in the lsvpd package.
%package base
Summary: Udev rules for VPD Database access library
Group: System/Libraries
Obsoletes: libvpd2 < 2.2.9
%description base
Udev rules for libvpd library used to access a vpd database created by
vpdupdate in the lsvpd package.
%package devel
Summary: VPD Database access library for lsvpd
Group: Development/Languages/C and C++
Requires: %{name}%{soversion} = %{version}-%{release}
Requires: pkgconfig(sqlite3)
Obsoletes: libvpd2-devel < 2.2.9
Obsoletes: libvpd2-devel-32bit < 2.2.9
%description devel
The libvpd-devel package contains development libraries and header
@ -68,7 +79,7 @@ the lsvpd package.
autoreconf -fiv
%configure \
--disable-static
%make_build
make %{?_smp_mflags}
%install
%make_install
@ -79,6 +90,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
%files -n %{name}%{soversion}
%{_libdir}/*.so.*
%files base
%{_udevrulesdir}/90-vpdupdate.rules
%files devel