!8 Replace openEuler with vendor
From: @starlet-dx Reviewed-by: @lyn1001 Signed-off-by: @lyn1001
This commit is contained in:
commit
f30a382c96
11
glib.spec
11
glib.spec
@ -1,7 +1,9 @@
|
|||||||
|
%global vendor %{?_vendor:%{_vendor}}%{!?_vendor:openEuler}
|
||||||
|
|
||||||
Name: glib
|
Name: glib
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 1.2.10
|
Version: 1.2.10
|
||||||
Release: 56
|
Release: 57
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Summary: GLib is the core library that forms the basis for projects
|
Summary: GLib is the core library that forms the basis for projects
|
||||||
URL: http://www.gtk.org/
|
URL: http://www.gtk.org/
|
||||||
@ -41,8 +43,8 @@ Help document for the glib package.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
install -p -m 0644 /usr/lib/rpm/openEuler/config.guess config.guess
|
install -p -m 0644 /usr/lib/rpm/%{vendor}/config.guess config.guess
|
||||||
install -p -m 0644 /usr/lib/rpm/openEuler/config.sub config.sub
|
install -p -m 0644 /usr/lib/rpm/%{vendor}/config.sub config.sub
|
||||||
%build
|
%build
|
||||||
%configure LIBTOOL=%{_bindir}/libtool
|
%configure LIBTOOL=%{_bindir}/libtool
|
||||||
%make_build LIBTOOL=%{_bindir}/libtool
|
%make_build LIBTOOL=%{_bindir}/libtool
|
||||||
@ -74,6 +76,9 @@ make check LIBTOOL=%{_bindir}/libtool
|
|||||||
%exclude %{_infodir}
|
%exclude %{_infodir}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 17 2022 yaoxin <yaoxin30@h-partners.com> - 1:1.2.10-57
|
||||||
|
- Replace openEuler with vendor
|
||||||
|
|
||||||
* Wed Jan 05 2022 xu_ping <xuping33@huawei.com> - 1:1.2.10-56
|
* Wed Jan 05 2022 xu_ping <xuping33@huawei.com> - 1:1.2.10-56
|
||||||
- fix config.guess and config.sub path error
|
- fix config.guess and config.sub path error
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user