Hello community,

here is the log from the commit of package apache-commons-collections for 
openSUSE:Leap:15.2 checked in at 2020-02-05 07:25:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/apache-commons-collections (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.apache-commons-collections.new.26092 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apache-commons-collections"

Wed Feb  5 07:25:49 2020 rev:11 rq:763085 version:3.2.2

Changes:
--------
--- 
/work/SRC/openSUSE:Leap:15.2/apache-commons-collections/apache-commons-collections.changes
  2020-01-15 14:46:57.981276834 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.apache-commons-collections.new.26092/apache-commons-collections.changes
       2020-02-05 07:25:50.166656175 +0100
@@ -1,0 +2,6 @@
+Mon Mar 25 17:25:30 UTC 2019 - Fridrich Strba <fst...@suse.com>
+
+- Remove pom parent, since we don't use it when not building with
+  maven
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ apache-commons-collections.spec ++++++
--- /var/tmp/diff_new_pack.WF7cjd/_old  2020-02-05 07:25:50.602656358 +0100
+++ /var/tmp/diff_new_pack.WF7cjd/_new  2020-02-05 07:25:50.606656361 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package apache-commons-collections
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -24,7 +24,7 @@
 Summary:        Commons Collections Package
 License:        Apache-2.0
 Group:          Development/Libraries/Java
-Url:            http://commons.apache.org/commons-collections/
+URL:            http://commons.apache.org/commons-collections/
 Source0:        
http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
 Source1:        commons-collections-testframework.pom
 Patch0:         jakarta-commons-collections-javadoc-nonet.patch
@@ -37,17 +37,14 @@
 Patch5:         commons-collections-jdk11.patch
 BuildRequires:  ant
 BuildRequires:  ant-junit
-BuildRequires:  apache-commons-parent
 BuildRequires:  fdupes
 BuildRequires:  java-devel >= 1.8
 BuildRequires:  javapackages-local
-BuildRequires:  javapackages-tools
 BuildRequires:  junit
 Provides:       %{short_name} = %{version}-%{release}
-Obsoletes:      %{short_name} = 3.2
+Obsoletes:      %{short_name} < %{version}-%{release}
 Provides:       jakarta-%{short_name} = %{version}-%{release}
-Obsoletes:      jakarta-%{short_name} = 3.2
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Obsoletes:      jakarta-%{short_name} < %{version}-%{release}
 BuildArch:      noarch
 
 %description
@@ -79,23 +76,20 @@
 
 %package javadoc
 Summary:        Javadoc for %{name}
-Group:          Development/Libraries/Java
+Group:          Documentation/HTML
+Provides:       %{name}-testframework-javadoc = %{version}-%{release}
+Obsoletes:      %{name}-testframework-javadoc < %{version}-%{release}
 
 %description javadoc
 %{summary}.
 
-%package testframework-javadoc
-Summary:        Javadoc for %{name} testframework
-Group:          Development/Libraries/Java
-
-%description testframework-javadoc
-%{summary}.
-
 %prep
 %setup -q -n %{short_name}-%{version}-src
 # remove all binary libs
-find . -name "*.jar" -exec rm -f {} \;
-find . -name "*.class" -exec rm -f {} \;
+find . -name "*.jar" -delete
+find . -name "*.class" -delete
+# Fix file eof
+sed -i 's/\r//' LICENSE.txt PROPOSAL.html README.txt NOTICE.txt
 
 %patch0 -p1
 %patch1
@@ -108,11 +102,13 @@
 cp -p %{SOURCE1} pom-testframework.xml
 sed -i 's/@VERSION@/%{version}/' pom-testframework.xml
 
+%pom_remove_parent .
+
 %build
 echo "junit.jar=$(build-classpath junit)" >>build.properties
 ant \
     -Dant.build.javac.source=8 -Dant.build.javac.target=8 \
-    -Dant.build.javadoc.source=8 \
+    -Dant.build.javadoc.source=8 -Dtf.build.docs=build/docs/apidocs/ \
     -Djava.io.tmpdir=. jar javadoc tf.validate tf.jar dist.bin dist.src 
tf.javadoc
 
 %install
@@ -133,38 +129,16 @@
 cp -pr build/docs/apidocs/* %{buildroot}%{_javadocdir}/%{name}
 %fdupes -s %{buildroot}%{_javadocdir}/%{name}
 
-# testframework-javadoc
-install -d -m 755 %{buildroot}%{_javadocdir}/%{name}-testframework
-cp -pr build/docs/testframework/* 
%{buildroot}%{_javadocdir}/%{name}-testframework
-%fdupes -s %{buildroot}%{_javadocdir}/%{name}-testframework
-
-%files
-%defattr(0644,root,root,0755)
-%doc PROPOSAL.html README.txt LICENSE.txt RELEASE-NOTES.txt NOTICE.txt
+%files -f .mfiles
+%license LICENSE.txt NOTICE.txt
+%doc PROPOSAL.html README.txt RELEASE-NOTES.txt
 %{_javadir}/%{name}.jar
-%{_javadir}/%{short_name}.jar
-%{_mavenpomdir}/JPP-%{short_name}.pom
-%{_datadir}/maven-metadata/%{name}.xml
 
-%files testframework
-%defattr(0644,root,root,0755)
+%files testframework -f .mfiles-testframework
 %{_javadir}/%{name}-testframework.jar
-%{_javadir}/%{short_name}-testframework.jar
-%{_mavenpomdir}/JPP-%{short_name}-testframework.pom
-%if %{defined _maven_repository}
-%config(noreplace) %{_mavendepmapfragdir}/%{name}-testframework
-%else
-%{_datadir}/maven-metadata/%{name}-testframework.xml
-%endif
 
 %files javadoc
-%defattr(0644,root,root,0755)
-%doc LICENSE.txt NOTICE.txt
+%license LICENSE.txt NOTICE.txt
 %{_javadocdir}/%{name}
 
-%files testframework-javadoc
-%defattr(0644,root,root,0755)
-%doc LICENSE.txt NOTICE.txt
-%{_javadocdir}/%{name}-testframework
-
 %changelog


Reply via email to