delete rely on low version of the file

This commit is contained in:
shirely16 2021-07-20 14:09:21 +08:00
parent af3436e100
commit b676c11ce7

View File

@ -1,6 +1,6 @@
Name: sysprof
Version: 3.38.1
Release: 1
Release: 2
Summary: A system-wide Linux profiler
License: GPLv3+
URL: http://www.sysprof.com
@ -8,7 +8,6 @@ Source0: https://download.gnome.org/sources/sysprof/3.38/sysprof-%{versio
BuildRequires: gcc gcc-c++ gettext itstool meson glib2-devel >= 2.61.3 pkgconfig(gtk+-3.0) >= 3.22.0
BuildRequires: libdazzle-devel systemd-devel polkit-devel libappstream-glib desktop-file-utils
Buildrequires: libsysprof-ui sysprof-cli
Requires: glib2 >= 2.61.3 hicolor-icon-theme %{name}-cli = %{version}-%{release}
Requires: libsysprof-ui = %{version}-%{release}
@ -34,7 +33,6 @@ The libsysprof-ui package contains the Sysprof UI library.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
Requires: libsysprof-ui%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
@ -52,10 +50,6 @@ developing applications that use %{name}.
%install
%meson_install
%find_lang %{name} --with-gnome
cp -a %{_libdir}/libsysprof-3.so $RPM_BUILD_ROOT%{_libdir}
cp -a %{_libdir}/libsysprof-ui-3.so $RPM_BUILD_ROOT%{_libdir}
cp -a %{_libdir}/libsysprof-memory-3.so $RPM_BUILD_ROOT%{_libdir}
%check
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.appdata.xml
@ -74,8 +68,6 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%files cli -f %{name}.lang
%license COPYING
%{_bindir}/sysprof-cli
%{_libdir}/libsysprof-3.so
%{_libdir}/libsysprof-memory-3.so
%{_libdir}/libsysprof-4.so
%{_libdir}/libsysprof-memory-4.so
%{_libdir}/libsysprof-speedtrack-4.so
@ -93,7 +85,6 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%files -n libsysprof-ui
%license COPYING
%{_libdir}/libsysprof-ui-3.so
%{_libdir}/libsysprof-ui-4.so
%files devel
@ -107,6 +98,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%doc README.md
%changelog
* Tue Jul 20 2021 hanhui<hanhui15@huawei.com> - 3.38.1-2
- delete rely on low version of the file
* Mon Nov 09 2020 chengguipeng<chengguipeng1@huawei.com> - 3.38.1-1
- upgrade to 3.38.1