Use mvn_compat_version macro
This commit is contained in:
parent
6b4d5ff6c7
commit
bf78cdb2f5
1 changed files with 6 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
Name: antlr32
|
||||
Version: 3.2
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: ANother Tool for Language Recognition
|
||||
|
||||
License: BSD
|
||||
|
|
@ -103,6 +103,8 @@ find -name "pom.xml" | xargs sed -i -e "s|>jsr14<|>1.5<|"
|
|||
# set a build number
|
||||
sed -i -e "s|\${buildNumber}|%{release}|" tool/src/main/resources/org/antlr/antlr.properties
|
||||
|
||||
%mvn_compat_version org.antlr: %{bootstrap_version} 3.2
|
||||
|
||||
%build
|
||||
mkdir -p .m2/org/antlr/antlr-master/%{version}/
|
||||
cp -p pom.xml .m2/org/antlr/antlr-master/%{version}/antlr-master-%{version}.pom
|
||||
|
|
@ -138,6 +140,9 @@ cp -p %{SOURCE6} %{SOURCE7} .m2/org/antlr/antlr3-maven-plugin/%{bootstrap_versio
|
|||
%doc tool/LICENSE.txt
|
||||
|
||||
%changelog
|
||||
* Fri Jun 20 2014 Mat Booth <mat.booth@redhat.com> - 3.2-5
|
||||
- Use mvn_compat_version macro
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Reference in a new issue