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