Remove versioning from the jandex files

This commit is contained in:
Marek Goldmann 2013-08-09 14:05:10 +02:00
parent d3f056fa3c
commit ec2267e30f

View File

@ -3,7 +3,7 @@
Name: resteasy Name: resteasy
Version: 3.0.1 Version: 3.0.1
Release: 2%{?dist} Release: 3%{?dist}
Summary: Framework for RESTful Web services and Java applications Summary: Framework for RESTful Web services and Java applications
License: ASL 2.0 and CDDL License: ASL 2.0 and CDDL
URL: http://www.jboss.org/resteasy URL: http://www.jboss.org/resteasy
@ -154,7 +154,7 @@ done
%mvn_install %mvn_install
find -name "resteasy-*-jandex.jar" | while read f; do find -name "resteasy-*-jandex.jar" | while read f; do
install -pm 644 ${f} %{buildroot}%{_javadir}/%{name}/$(basename $f) install -pm 644 ${f} %{buildroot}%{_javadir}/%{name}/$(basename -s "-%{namedversion}-jandex.jar" $f)-jandex.jar
done done
%files -f .mfiles %files -f .mfiles
@ -166,6 +166,9 @@ done
%doc jaxrs/License.html %doc jaxrs/License.html
%changelog %changelog
* Fri Aug 09 2013 Marek Goldmann <mgoldman@redhat.com> - 3.0.1-3
- Remove versioning from the jandex files
* Fri Aug 09 2013 Marek Goldmann <mgoldman@redhat.com> - 3.0.1-2 * Fri Aug 09 2013 Marek Goldmann <mgoldman@redhat.com> - 3.0.1-2
- Added jandex index files to all jars - Added jandex index files to all jars