add so.8 to package to support build
This commit is contained in:
parent
d15340f83c
commit
8b5990c812
32
rpm.spec
32
rpm.spec
@ -1,6 +1,6 @@
|
||||
Name: rpm
|
||||
Version: 4.15.1
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: RPM Package Manager
|
||||
License: GPLv2+
|
||||
URL: http://www.rpm.org/
|
||||
@ -15,7 +15,7 @@ Patch9001: 0001-bugfix-rpm-4.14.2-fix-tty-failed.patch
|
||||
Patch9002: bugfix-rpm-4.14.2-wait-once-get-rpmlock-fail.patch
|
||||
|
||||
BuildRequires: gcc autoconf automake libtool make gawk popt-devel openssl-devel readline-devel libdb-devel
|
||||
BuildRequires: system-rpm-config
|
||||
BuildRequires: system-rpm-config rpm system-rpm-config
|
||||
BuildRequires: zlib-devel libzstd-devel xz-devel bzip2-devel libarchive-devel ima-evm-utils-devel
|
||||
BuildRequires: dbus-devel fakechroot elfutils-devel elfutils-libelf-devel
|
||||
BuildRequires: lua-devel libcap-devel libacl-devel libselinux-devel file-devel gettext-devel ncurses-devel
|
||||
@ -33,6 +33,19 @@ The RPM Package Manager (RPM) is a powerful package management system capability
|
||||
-querying detailed information about the packaged software, whether installed or not
|
||||
-verifying integrity of packaged software and resulting software installation
|
||||
|
||||
%package -n librpm8
|
||||
Summary: Shared library of rpm 4.14
|
||||
|
||||
%description -n librpm8
|
||||
Shared library of rpm 4.14 to support build.
|
||||
|
||||
%package -n librpm9
|
||||
Summary: Shared library of rpm 4.15
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description -n librpm9
|
||||
Shared library of rpm 4.15.
|
||||
|
||||
%package build
|
||||
Summary: Scripts and executable programs used to build packages
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
@ -165,6 +178,8 @@ do
|
||||
ln -s ../../bin/db_${dbutil} $RPM_BUILD_ROOT/usr/lib/rpm/rpmdb_${dbutil}
|
||||
done
|
||||
|
||||
cp -a %{_libdir}/librpm*.so.8* %{buildroot}%{_libdir}
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
find $RPM_BUILD_ROOT -name "*.la"|xargs rm -f
|
||||
@ -211,7 +226,6 @@ make check || (cat tests/rpmtests.log; exit 0)
|
||||
%{_rpmconfigdir}/rpm2cpio.sh
|
||||
%{_rpmconfigdir}/tgpg
|
||||
%{_rpmconfigdir}/platform
|
||||
%{_libdir}/librpm*.so.*
|
||||
%{_libdir}/rpm-plugins/
|
||||
%dir %{_rpmconfigdir}/fileattrs
|
||||
%{_bindir}/rpm
|
||||
@ -223,6 +237,12 @@ make check || (cat tests/rpmtests.log; exit 0)
|
||||
%{_bindir}/rpmverify
|
||||
%{_bindir}/rpmsign
|
||||
|
||||
%files -n librpm8
|
||||
%{_libdir}/librpm*.so.8*
|
||||
|
||||
%files -n librpm9
|
||||
%{_libdir}/librpm*.so.9*
|
||||
|
||||
%files build
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/rpmbuild
|
||||
@ -269,6 +289,12 @@ make check || (cat tests/rpmtests.log; exit 0)
|
||||
%{_mandir}/man1/gendiff.1*
|
||||
|
||||
%changelog
|
||||
* Mon Jan 13 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.15.1-2
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:add subpack of librpm8 and librpm9 to support update
|
||||
|
||||
* Fri Jan 10 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.15.1-1
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user