!15 [sync] PR-14: 将autoreconf文件内容的生成移到build中

From: @openeuler-sync-bot 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
This commit is contained in:
openeuler-ci-bot 2022-10-17 01:55:17 +00:00 committed by Gitee
commit 8dfa24efec
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -3,7 +3,7 @@
Name: libusbx Name: libusbx
Version: 1.0.24 Version: 1.0.24
Release: 1 Release: 2
Summary: Library for accessing USB devices Summary: Library for accessing USB devices
License: LGPLv2+ License: LGPLv2+
URL: http://libusb.info URL: http://libusb.info
@ -31,10 +31,10 @@ The %{name}-devel package contains libraries and header files.
%prep %prep
%autosetup -n %{source}-%{version} -p1 %autosetup -n %{source}-%{version} -p1
mkdir -p m4
autoreconf -ivf
%build %build
mkdir -p m4
autoreconf -ivf
%configure --disable-static --enable-examples-build %configure --disable-static --enable-examples-build
%make_build %make_build
make docs -C doc make docs -C doc
@ -60,6 +60,12 @@ make check
%{_libdir}/pkgconfig/libusb-1.0.pc %{_libdir}/pkgconfig/libusb-1.0.pc
%changelog %changelog
* Tue Oct 11 2022 huangduirong <huangduirong@huawei.com> - 1.0.24-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Move autoreconf to build
* Wed Nov 17 2021 Wenchao Hao <haowenchao@hauwei.com> - 1.0.24-1 * Wed Nov 17 2021 Wenchao Hao <haowenchao@hauwei.com> - 1.0.24-1
- Update to libusb-1.0.24 - Update to libusb-1.0.24