commit jansi for openSUSE:Factory

2019-07-02 Thread root
Hello community,

here is the log from the commit of package jansi for openSUSE:Factory checked 
in at 2019-07-02 10:38:45

Comparing /work/SRC/openSUSE:Factory/jansi (Old)
 and  /work/SRC/openSUSE:Factory/.jansi.new.4615 (New)


Package is "jansi"

Tue Jul  2 10:38:45 2019 rev:3 rq:712780 version:1.17.1

Changes:

--- /work/SRC/openSUSE:Factory/jansi/jansi.changes  2019-04-11 
12:19:30.796998284 +0200
+++ /work/SRC/openSUSE:Factory/.jansi.new.4615/jansi.changes2019-07-02 
10:38:46.466616381 +0200
@@ -1,0 +2,7 @@
+Thu Jun 27 07:34:53 UTC 2019 - Fridrich Strba 
+
+- Remove the reference to jansi-project parent from jansi pom
+- Resolve manually jansi-native-version variable so that ivy
+  understands it
+
+---



Other differences:
--
++ jansi.spec ++
--- /var/tmp/diff_new_pack.hjMzdx/_old  2019-07-02 10:38:46.934617094 +0200
+++ /var/tmp/diff_new_pack.hjMzdx/_new  2019-07-02 10:38:46.938617100 +0200
@@ -75,7 +75,11 @@
 %pom_remove_dep :jansi-linux64
 popd
 
-%pom_remove_parent .
+%pom_remove_parent jansi
+%pom_xpath_inject pom:project "
+  org.fusesource.jansi
+  %{version}" jansi
+%pom_change_dep ::\${jansi-native-version} ::1.8 jansi
 
 %build
 mkdir -p jansi/lib
@@ -93,8 +97,6 @@
 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




commit jansi for openSUSE:Factory

2019-04-11 Thread root
Hello community,

here is the log from the commit of package jansi for openSUSE:Factory checked 
in at 2019-04-11 12:19:26

Comparing /work/SRC/openSUSE:Factory/jansi (Old)
 and  /work/SRC/openSUSE:Factory/.jansi.new.27019 (New)


Package is "jansi"

Thu Apr 11 12:19:26 2019 rev:2 rq:693096 version:1.17.1

Changes:

--- /work/SRC/openSUSE:Factory/jansi/jansi.changes  2019-02-24 
17:13:32.768470370 +0100
+++ /work/SRC/openSUSE:Factory/.jansi.new.27019/jansi.changes   2019-04-11 
12:19:30.796998284 +0200
@@ -1,0 +2,7 @@
+Tue Apr  9 15:44:56 UTC 2019 - Fridrich Strba 
+
+- Remove reference to the parent pom since we are not building
+  using Maven.
+- Make tests conditional and switched off by default
+
+---



Other differences:
--
++ jansi.spec ++
--- /var/tmp/diff_new_pack.ex0xFx/_old  2019-04-11 12:19:31.940998773 +0200
+++ /var/tmp/diff_new_pack.ex0xFx/_new  2019-04-11 12:19:31.944998775 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%bcond_with tests
 Name:   jansi
 Version:1.17.1
 Release:0
@@ -26,16 +27,15 @@
 Source0:
https://github.com/fusesource/jansi/archive/jansi-project-%{version}.tar.gz
 Source1:%{name}-build.xml
 BuildRequires:  ant
-BuildRequires:  ant-junit
 BuildRequires:  fdupes
 BuildRequires:  hawtjni-runtime
 BuildRequires:  jansi-native
 BuildRequires:  javapackages-local
-BuildRequires:  junit
-BuildRequires:  mvn(org.fusesource:fusesource-pom:pom:)
+%if %{with tests}
+BuildRequires:  ant-junit
+%endif
 Requires:   mvn(org.fusesource.hawtjni:hawtjni-runtime)
 Requires:   mvn(org.fusesource.jansi:jansi-native)
-Requires:   mvn(org.fusesource:fusesource-pom:pom:)
 BuildArch:  noarch
 
 %description
@@ -75,11 +75,17 @@
 %pom_remove_dep :jansi-linux64
 popd
 
+%pom_remove_parent .
+
 %build
 mkdir -p jansi/lib
 build-jar-repository -s jansi/lib \
-   hawtjni/hawtjni-runtime jansi-native/jansi-native junit hamcrest/core
-%{ant} -f %{name}-build.xml jar javadoc
+   hawtjni/hawtjni-runtime jansi-native/jansi-native 
+%{ant} -f %{name}-build.xml \
+%if %{without tests}
+   -Dtest.skip=true \
+%endif
+   jar javadoc
 
 %install
 # jar