Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package apache-commons-httpclient for 
openSUSE:Factory checked in at 2024-05-01 14:55:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache-commons-httpclient (Old)
 and      /work/SRC/openSUSE:Factory/.apache-commons-httpclient.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apache-commons-httpclient"

Wed May  1 14:55:34 2024 rev:13 rq:1170965 version:3.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/apache-commons-httpclient/apache-commons-httpclient.changes
      2024-02-21 17:52:21.282483518 +0100
+++ 
/work/SRC/openSUSE:Factory/.apache-commons-httpclient.new.1880/apache-commons-httpclient.changes
    2024-05-01 14:55:47.092455519 +0200
@@ -1,0 +2,5 @@
+Tue Apr 30 11:15:27 UTC 2024 - Fridrich Strba <fst...@suse.com>
+
+- Clean the spec: remove old macros and change to working urls
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ apache-commons-httpclient.spec ++++++
--- /var/tmp/diff_new_pack.4eHU1j/_old  2024-05-01 14:55:47.668476418 +0200
+++ /var/tmp/diff_new_pack.4eHU1j/_new  2024-05-01 14:55:47.672476563 +0200
@@ -23,9 +23,9 @@
 Summary:        Feature rich package for accessing resources via HTTP
 License:        Apache-2.0
 Group:          Development/Libraries/Java
-URL:            http://hc.apache.org/httpclient-3.x/
-Source0:        
http://www.apache.org/dist/httpcomponents/commons-httpclient/source/%{short_name}-%{version}-src.tar.gz
-Source1:        
http://repo.maven.apache.org/maven2/%{short_name}/%{short_name}/%{version}/%{short_name}-%{version}.pom
+URL:            https://hc.apache.org/httpclient-3.x/
+Source0:        
https://archive.apache.org/dist/httpcomponents/%{short_name}/source/%{short_name}-%{version}-src.tar.gz
+Source1:        
https://repo1.maven.org/maven2/%{short_name}/%{short_name}/%{version}/%{short_name}-%{version}.pom
 Patch0:         %{name}-disablecryptotests.patch
 # Add OSGi MANIFEST.MF bits
 Patch1:         %{name}-addosgimanifest.patch
@@ -43,10 +43,8 @@
 BuildRequires:  commons-logging >= 1.0.3
 BuildRequires:  fdupes
 BuildRequires:  java-devel >= 1.8
-BuildRequires:  javapackages-local
+BuildRequires:  javapackages-local >= 6
 BuildRequires:  junit
-Requires:       commons-codec
-Requires:       commons-logging >= 1.0.3
 Provides:       %{short_name} = %{version}
 Provides:       jakarta-%{short_name} = %{version}
 Obsoletes:      jakarta-%{short_name} < %{version}
@@ -155,17 +153,17 @@
 popd
 
 # pom
-mkdir -p %{buildroot}%{_mavenpomdir}
-cp -p %{SOURCE1} %{buildroot}%{_mavenpomdir}/%{name}.pom
+install -d -m 0755 %{buildroot}%{_mavenpomdir}
+%{mvn_install_pom} %{SOURCE1} %{buildroot}%{_mavenpomdir}/%{name}.pom
 %add_maven_depmap %{name}.pom %{name}.jar -a apache:commons-httpclient
 
 # javadoc
-mkdir -p %{buildroot}%{_javadocdir}
+install -d -m 0755 %{buildroot}%{_javadocdir}
 mv dist/docs/api %{buildroot}%{_javadocdir}/%{name}
 %fdupes -s %{buildroot}%{_javadocdir}/%{name}
 
 # demo
-mkdir -p %{buildroot}%{_datadir}/%{name}
+install -d -m 0755 %{buildroot}%{_datadir}/%{name}
 cp -pr src/examples src/contrib %{buildroot}%{_datadir}/%{name}
 %fdupes -s %{buildroot}%{_datadir}/%{name}
 
@@ -174,22 +172,15 @@
 ln -s %{_javadocdir}/%{name} dist/docs/apidocs
 %fdupes -s dist/docs
 
-%files
+%files -f .mfiles
 %defattr(0644,root,root,0755)
 %license LICENSE.txt
 %doc README.txt RELEASE_NOTES.txt
-%{_javadir}/%{name}.jar
 %{_javadir}/%{name}3.jar
 %{_javadir}/%{short_name}3.jar
 %{_javadir}/%{short_name}.jar
 %{_javadir}/jakarta-%{short_name}3.jar
 %{_javadir}/jakarta-%{short_name}.jar
-%{_mavenpomdir}/*
-%if %{defined _maven_repository}
-%{_mavendepmapfragdir}/%{name}
-%else
-%{_datadir}/maven-metadata/%{name}.xml*
-%endif
 
 %files javadoc
 %defattr(0644,root,root,0755)

Reply via email to