diff --git a/antlr3.spec b/antlr3.spec index 146c1439633f53b7772969dbe39a6001eb1f012a..b33747fa2a24df3efe8192ea3c5f8d7fd6a3e0ac 100644 --- a/antlr3.spec +++ b/antlr3.spec @@ -1,7 +1,8 @@ %global antlr_version 3.5.2 %global c_runtime_version 3.4 %global javascript_runtime_version 3.1 -%global baserelease 23 +%global baserelease 24 +%global vendor %{?_vendor:%{_vendor}}%{!?_vendor:openEuler} Name: antlr3 Epoch: 1 @@ -109,7 +110,7 @@ C++ runtime support for ANTLR-generated parsers. %prep %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 %patch0001 -p1 @@ -223,6 +224,9 @@ install -pm 644 runtime/Cpp/include/* $RPM_BUILD_ROOT/%{_includedir}/ %changelog +* Thu Nov 17 2022 yaoxin - 1:3.5.2-24 +- Replace openEuler with vendor + * Sat Dec 12 2020 wutao - 1:3.5.2-23 - fix rpm dist problem