!5 Replace openEuler with vendor
From: @wk333 Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
103f5fc282
@ -1,9 +1,11 @@
|
|||||||
%global _install install -p -m0644
|
%global _install install -p -m0644
|
||||||
|
%global vendor %{?_vendor:%{_vendor}}%{!?_vendor:openEuler}
|
||||||
|
%global rpmvdir /usr/lib/rpm/%{vendor}
|
||||||
|
|
||||||
Name: gtk+
|
Name: gtk+
|
||||||
Version: 1.2.10
|
Version: 1.2.10
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Release: 91
|
Release: 92
|
||||||
Summary: A toolkit for creating graphical user interfaces
|
Summary: A toolkit for creating graphical user interfaces
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://www.gtk.org/
|
URL: http://www.gtk.org/
|
||||||
@ -75,7 +77,7 @@ Man pages and other related documents.
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -a 2
|
%autosetup -p1 -a 2
|
||||||
|
|
||||||
cp -p /usr/lib/rpm/openEuler/config.{guess,sub} .
|
cp -p %{rpmvdir}/config.{guess,sub} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --with-xinput=xfree --with-native-locale LIBTOOL=/usr/bin/libtool
|
%configure --disable-static --with-xinput=xfree --with-native-locale LIBTOOL=/usr/bin/libtool
|
||||||
@ -136,6 +138,9 @@ make check LIBTOOL=/usr/bin/libtool
|
|||||||
%{_mandir}/man1/gtk-config.1*
|
%{_mandir}/man1/gtk-config.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 17 2022 wangkai <wangkai385@h-partners.com> - 1:1.2.10-92
|
||||||
|
- Replace openEuler with vendor
|
||||||
|
|
||||||
* Fri Jan 07 2022 wulei <wulei80@huawei.com> - 1.2.10-91
|
* Fri Jan 07 2022 wulei <wulei80@huawei.com> - 1.2.10-91
|
||||||
- Fix config.guess and config.sub not found
|
- Fix config.guess and config.sub not found
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user