!4 fix build error
From: @peijiankang Reviewed-by: @tanyulong2021 Signed-off-by: @tanyulong2021
This commit is contained in:
commit
9dca30dd12
@ -2,13 +2,13 @@
|
||||
|
||||
Name: biometric-authentication
|
||||
Version: 0.9.72
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: biometric-authentication
|
||||
License: LGPL-3.0
|
||||
URL: http://www.ukui.org
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
|
||||
%if 0
|
||||
BuildRequires: python3
|
||||
BuildRequires: automake
|
||||
BuildRequires: intltool
|
||||
@ -25,13 +25,12 @@ BuildRequires: uuid-devel
|
||||
Requires: systemd
|
||||
Requires: python-prettytable
|
||||
Requires: dbus-python
|
||||
|
||||
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
biometric identification framework
|
||||
|
||||
%if 0
|
||||
%package -n biometric-auth
|
||||
Summary: libs
|
||||
License: LGPL-3.0
|
||||
@ -75,9 +74,10 @@ License: LGPL-3.0 license
|
||||
%description -n libbiometric0
|
||||
Biometric Identification library
|
||||
|
||||
%endif
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%if 0
|
||||
%build
|
||||
export prefix=/usr
|
||||
./autogen.sh
|
||||
@ -109,7 +109,9 @@ make install DESTDIR=%{buildroot}
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%endif
|
||||
%files
|
||||
%if 0
|
||||
%files -n biometric-auth
|
||||
%{_sysconfdir}/dbus-1/system.d/org.ukui.Biometric.conf
|
||||
%{_sysconfdir}/init.d/biometric-authentication
|
||||
@ -156,11 +158,14 @@ rm -rf $RPM_BUILD_ROOT
|
||||
/usr/lib/x86_64-linux-gnu/libbiometric.so.0
|
||||
/usr/lib/x86_64-linux-gnu/libbiometric.so.0.0.0
|
||||
/usr/lib/x86_64-linux-gnu/pkgconfig/libbiometric.pc
|
||||
|
||||
%endif
|
||||
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jun 24 2022 peijiankang <peijiankang@kylinos.cn> - 0.9.72-2
|
||||
- fix build error
|
||||
|
||||
* Mon May 16 2022 tanyulong <tanyulong@kylinos.cn> - 0.9.72-1
|
||||
- init package for openEuler
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user