Use .mfiles generated during build

This commit is contained in:
Mikolaj Izdebski 2014-05-21 17:38:14 +02:00
parent 1b2a369b57
commit f10b591a9a

View File

@ -4,7 +4,7 @@
Summary: ANother Tool for Language Recognition
Name: antlr
Version: 2.7.7
Release: 30%{?dist}
Release: 31%{?dist}
Epoch: 0
License: Public Domain
URL: http://www.antlr.org/
@ -161,12 +161,10 @@ install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
%add_maven_depmap -a antlr:antlrall
%files tool
%files tool -f .mfiles
%doc LICENSE.txt
%{_javadir}/%{name}.jar
%{_bindir}/antlr
%{_mavenpomdir}/JPP-%{name}.pom
%{_mavendepmapfragdir}/%{name}
# this is actually a development package for the C++ target
# as we ship only a static library, it doesn't make sense
@ -195,6 +193,9 @@ install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
%{python_sitelib}/antlr-*
%changelog
* Wed May 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.7.7-31
- Use .mfiles generated during build
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:2.7.7-30
- Use Requires: java-headless rebuild (#1067528)