Accepting request 712780 from Java:packages

- Remove the reference to jansi-project parent from jansi pom
- Resolve manually jansi-native-version variable so that ivy
  understands it

OBS-URL: https://build.opensuse.org/request/show/712780
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jansi?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2019-07-02 08:38:45 +00:00 committed by Git OBS Bridge
commit b0c2abea2e
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jun 27 07:34:53 UTC 2019 - Fridrich Strba <fstrba@suse.com>
- Remove the reference to jansi-project parent from jansi pom
- Resolve manually jansi-native-version variable so that ivy
understands it
-------------------------------------------------------------------
Tue Apr 9 15:44:56 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -75,7 +75,11 @@ pushd jansi
%pom_remove_dep :jansi-linux64
popd
%pom_remove_parent .
%pom_remove_parent jansi
%pom_xpath_inject pom:project "
<groupId>org.fusesource.jansi</groupId>
<version>%{version}</version>" jansi
%pom_change_dep ::\${jansi-native-version} ::1.8 jansi
%build
mkdir -p jansi/lib
@ -93,8 +97,6 @@ install -dm 0755 %{buildroot}%{_javadir}/%{name}
install -pm 0644 jansi/target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}/%{name}.jar
# pom
install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name}
install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}-project.pom
%add_maven_depmap %{name}/%{name}-project.pom
install -pm 0644 jansi/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom
%add_maven_depmap %{name}/%{name}.pom %{name}/%{name}.jar
# javadoc