Hello community,

here is the log from the commit of package apache-commons-lang3 for 
openSUSE:Factory checked in at 2019-02-06 15:47:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache-commons-lang3 (Old)
 and      /work/SRC/openSUSE:Factory/.apache-commons-lang3.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apache-commons-lang3"

Wed Feb  6 15:47:23 2019 rev:4 rq:671846 version:3.8.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/apache-commons-lang3/apache-commons-lang3.changes    
    2018-11-08 09:42:17.589534761 +0100
+++ 
/work/SRC/openSUSE:Factory/.apache-commons-lang3.new.28833/apache-commons-lang3.changes
     2019-02-06 15:47:25.075259178 +0100
@@ -1,0 +2,5 @@
+Mon Feb  4 06:21:14 UTC 2019 - Fridrich Strba <[email protected]>
+
+- Clean-up the spec file and install less jar symlinks
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ apache-commons-lang3.spec ++++++
--- /var/tmp/diff_new_pack.Xo2obH/_old  2019-02-06 15:47:25.643258834 +0100
+++ /var/tmp/diff_new_pack.Xo2obH/_new  2019-02-06 15:47:25.647258831 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package apache-commons-lang3
 #
-# 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
@@ -30,11 +30,12 @@
 Source2:        default.properties
 BuildRequires:  ant
 BuildRequires:  ant-junit
+BuildRequires:  apache-commons-parent
 BuildRequires:  fdupes
 BuildRequires:  java-devel >= 1.7
 BuildRequires:  javapackages-local
-BuildRequires:  javapackages-tools
 BuildRequires:  junit
+Requires:       apache-commons-parent
 Provides:       %{short_name} = %{version}-%{release}
 BuildArch:      noarch
 
@@ -76,33 +77,22 @@
 
 # jars
 install -dm 755 %{buildroot}%{_javadir}
-install -m 0644  target/%{short_name}.jar 
%{buildroot}%{_javadir}/%{short_name}-%{version}.jar
-pushd %{buildroot}%{_javadir}
-  ln -s %{short_name}-%{version}.jar %{short_name}.jar
-  ln -s %{short_name}-%{version}.jar %{name}-%{version}.jar
-  ln -s %{name}-%{version}.jar %{name}.jar
-popd
-
+install -m 0644  target/%{short_name}.jar %{buildroot}%{_javadir}/%{name}.jar
+ln -sf %{name}.jar %{buildroot}%{_javadir}/%{short_name}.jar
 # pom
 install -dm 755 %{buildroot}%{_mavenpomdir}
-install -m 0644  pom.xml 
%{buildroot}%{_mavenpomdir}/%{short_name}-%{version}.pom
-%add_maven_depmap %{short_name}-%{version}.pom %{short_name}-%{version}.jar
+install -m 0644  pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
+%add_maven_depmap %{name}.pom %{name}.jar
 
 # javadoc
 install -dm 755 %{buildroot}%{_javadocdir}/%{name}
 cp -pr target/apidocs/* %{buildroot}%{_javadocdir}/%{name}/
 %fdupes -s %{buildroot}%{_javadocdir}/%{name}/
 
-%files
-%license LICENSE.txt
-%doc NOTICE.txt RELEASE-NOTES.txt
-%{_javadir}/*.jar
-%{_mavenpomdir}/*
-%if %{defined _maven_repository}
-%{_mavendepmapfragdir}/%{name}
-%else
-%{_datadir}/maven-metadata/%{name}.xml*
-%endif
+%files -f .mfiles
+%license LICENSE.txt NOTICE.txt
+%doc RELEASE-NOTES.txt
+%{_javadir}/%{short_name}.jar
 
 %files javadoc
 %{_javadocdir}/%{name}


Reply via email to