Fridrich Strba 2017-09-29 06:45:53 +00:00 committed by Git OBS Bridge
parent ab29e838c1
commit 3b93728b1b
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Sep 29 06:45:22 UTC 2017 - fstrba@suse.com
- Don't condition the maven defines on release version, but on
_maven_repository being defined
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Sep 10 13:49:02 UTC 2017 - fstrba@suse.com Sun Sep 10 13:49:02 UTC 2017 - fstrba@suse.com

View File

@ -130,10 +130,10 @@ sed -i 's/>@.*</>%{version}</' %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
%defattr(0644,root,root,0755) %defattr(0644,root,root,0755)
%doc CHANGES COPYING README.txt %doc CHANGES COPYING README.txt
%attr(0644,root,root) %{_javadir}/%{name}.jar %attr(0644,root,root) %{_javadir}/%{name}.jar
%if %{?suse_version} > 1320 %if %{defined _maven_repository}
%config(noreplace) %{_datadir}/maven-metadata/%{name}.xml*
%else
%config(noreplace) %{_mavendepmapfragdir}/* %config(noreplace) %{_mavendepmapfragdir}/*
%else
%config(noreplace) %{_datadir}/maven-metadata/%{name}.xml*
%endif %endif
%{_mavenpomdir}/*.pom %{_mavenpomdir}/*.pom