Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package servletapi5 for openSUSE:Factory 
checked in at 2025-09-09 20:30:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/servletapi5 (Old)
 and      /work/SRC/openSUSE:Factory/.servletapi5.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "servletapi5"

Tue Sep  9 20:30:06 2025 rev:23 rq:1303200 version:5.0.18

Changes:
--------
--- /work/SRC/openSUSE:Factory/servletapi5/servletapi5.changes  2022-03-28 
16:59:51.240911733 +0200
+++ /work/SRC/openSUSE:Factory/.servletapi5.new.1977/servletapi5.changes        
2025-09-09 20:30:36.742154997 +0200
@@ -1,0 +2,5 @@
+Mon Sep  8 12:19:30 UTC 2025 - Fridrich Strba <[email protected]>
+
+- Don't use update-alternatives (bsc#1245918)
+
+-------------------------------------------------------------------

New:
----
  _scmsync.obsinfo
  build.specials.obscpio

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

Other differences:
------------------
++++++ servletapi5.spec ++++++
--- /var/tmp/diff_new_pack.0usQuv/_old  2025-09-09 20:30:37.178173372 +0200
+++ /var/tmp/diff_new_pack.0usQuv/_new  2025-09-09 20:30:37.182173541 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package servletapi5
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,19 +24,18 @@
 Summary:        Java servlet and JSP implementation classes
 License:        Apache-2.0
 Group:          Development/Libraries/Java
-URL:            http://jakarta.apache.org/tomcat/
+URL:            https://jakarta.apache.org/tomcat/
 Source:         %{full_name}-5-src.tar.gz
-#!BuildIgnore:  xml-commons xml-commons-resolver xerces-j2 xml-commons-apis
-#!BuildIgnore:  xml-commons-jaxp-1.3-apis
 BuildRequires:  ant
 BuildRequires:  java-devel >= 1.8
-%if !0%{?rhel}
-Requires(post): update-alternatives
-%endif
+#!BuildIgnore:  xerces-j2
+#!BuildIgnore:  xml-commons
+#!BuildIgnore:  xml-commons-apis
+#!BuildIgnore:  xml-commons-jaxp-1.3-apis
+#!BuildIgnore:  xml-commons-resolver
 Provides:       servlet = %{version}
 Provides:       servlet24 = %{version}
 Provides:       servlet5 = %{version}
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 
 %description
@@ -64,25 +63,10 @@
 cd jakarta-tomcat-%{version}-src/jakarta-servletapi-5
 # jars
 install -d -m 755 %{buildroot}%{_javadir}
-install -m 644 jsr152/dist/lib/jsp-api.jar 
%{buildroot}%{_javadir}/jspapi-%{version}.jar
-install -m 644 jsr154/dist/lib/servlet-api.jar 
%{buildroot}%{_javadir}/%{name}-%{version}.jar
-(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} 
`echo $jar| sed  "s|-%{version}||g"`; done)
-# alternatives
-mkdir -p %{buildroot}%{_sysconfdir}/alternatives/
-ln -sf %{_sysconfdir}/alternatives/servlet.jar 
%{buildroot}%{_javadir}/servlet.jar
-
-%post
-update-alternatives --install %{_javadir}/servlet.jar servlet 
%{_javadir}/%{name}-%{version}.jar 50
-
-%postun
-if [ "$1" = "0" ]; then
-    update-alternatives --remove servlet %{_javadir}/%{name}-%{version}.jar
-fi
+install -m 644 jsr152/dist/lib/jsp-api.jar %{buildroot}%{_javadir}/jspapi.jar
+install -m 644 jsr154/dist/lib/servlet-api.jar 
%{buildroot}%{_javadir}/%{name}.jar
 
 %files
-%defattr(-,root,root)
-%doc LICENSE
+%license LICENSE
 %{_javadir}/*
-%{_javadir}/servlet.jar
-%ghost %{_sysconfdir}/alternatives/servlet.jar
 

++++++ _scmsync.obsinfo ++++++
mtime: 1757333974
commit: 16b4bc89075bf17b0283d2652a6827903649cb8dbfbe0a50bc722b363c73452f
url: https://src.opensuse.org/java-packages/servletapi5.git
revision: 16b4bc89075bf17b0283d2652a6827903649cb8dbfbe0a50bc722b363c73452f
projectscmsync: https://src.opensuse.org/java-packages/_ObsPrj

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2025-09-08 14:19:52.000000000 +0200
@@ -0,0 +1 @@
+.osc

Reply via email to