Replace openEuler with vendor
This commit is contained in:
parent
eaf3c22e90
commit
d86e1b5690
@ -1,7 +1,8 @@
|
|||||||
%global antlr_version 3.5.2
|
%global antlr_version 3.5.2
|
||||||
%global c_runtime_version 3.4
|
%global c_runtime_version 3.4
|
||||||
%global javascript_runtime_version 3.1
|
%global javascript_runtime_version 3.1
|
||||||
%global baserelease 23
|
%global baserelease 24
|
||||||
|
%global vendor %{?_vendor:%{_vendor}}%{!?_vendor:openEuler}
|
||||||
|
|
||||||
Name: antlr3
|
Name: antlr3
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
@ -109,7 +110,7 @@ C++ runtime support for ANTLR-generated parsers.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n antlr3-%{antlr_version} -a 1
|
%setup -q -n antlr3-%{antlr_version} -a 1
|
||||||
sed -i "s,\${buildNumber},`cat %{_sysconfdir}/openEuler-release` `date`," \
|
sed -i "s,\${buildNumber},`cat %{_sysconfdir}/%{vendor}-release` `date`," \
|
||||||
tool/src/main/resources/org/antlr/antlr.properties
|
tool/src/main/resources/org/antlr/antlr.properties
|
||||||
%patch0001 -p1
|
%patch0001 -p1
|
||||||
|
|
||||||
@ -223,6 +224,9 @@ install -pm 644 runtime/Cpp/include/* $RPM_BUILD_ROOT/%{_includedir}/
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 17 2022 yaoxin <yaoxin30@h-partners.com> - 1:3.5.2-24
|
||||||
|
- Replace openEuler with vendor
|
||||||
|
|
||||||
* Sat Dec 12 2020 wutao <wutao61@huawei.com> - 1:3.5.2-23
|
* Sat Dec 12 2020 wutao <wutao61@huawei.com> - 1:3.5.2-23
|
||||||
- fix rpm dist problem
|
- fix rpm dist problem
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user