Accepting request 533047 from Java:packages
Condition correctly the maven defines OBS-URL: https://build.opensuse.org/request/show/533047 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache-commons-codec?expand=0&rev=16
This commit is contained in:
commit
f9967ab42c
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 29 08:11:16 UTC 2017 - fstrba@suse.com
|
||||||
|
|
||||||
|
- Don't condition the maven defines on release version, but on
|
||||||
|
_maven_repository being defined
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 7 11:59:41 UTC 2017 - fstrba@suse.com
|
Thu Sep 7 11:59:41 UTC 2017 - fstrba@suse.com
|
||||||
|
|
||||||
|
@ -127,10 +127,10 @@ ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name}
|
|||||||
%doc LICENSE.txt RELEASE-NOTES.txt
|
%doc LICENSE.txt RELEASE-NOTES.txt
|
||||||
%{_javadir}/*.jar
|
%{_javadir}/*.jar
|
||||||
%{_mavenpomdir}/*
|
%{_mavenpomdir}/*
|
||||||
%if %{?suse_version} > 1320
|
%if %{defined _maven_repository}
|
||||||
%{_datadir}/maven-metadata/%{name}.xml
|
|
||||||
%else
|
|
||||||
%config(noreplace) %{_mavendepmapfragdir}/%{name}
|
%config(noreplace) %{_mavendepmapfragdir}/%{name}
|
||||||
|
%else
|
||||||
|
%{_datadir}/maven-metadata/%{name}.xml
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files javadoc
|
%files javadoc
|
||||||
|
Loading…
Reference in New Issue
Block a user