Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package httrack for openSUSE:Factory checked 
in at 2026-10-13 17:49:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/httrack (Old)
 and      /work/SRC/openSUSE:Factory/.httrack.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "httrack"

Tue Oct 13 17:49:33 2026 rev:14 rq:1384616 version:3.50.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/httrack/httrack.changes  2026-10-06 
19:21:17.527776857 +0200
+++ /work/SRC/openSUSE:Factory/.httrack.new.3698736/httrack.changes     
2026-10-13 17:52:32.912426330 +0200
@@ -1,0 +2,7 @@
+Fri Oct  9 14:43:27 UTC 2026 - [email protected]
+
+- Add pretrans script to rename old html directory which is now
+  a softlink.
+- Add weakremover condition for obsolete shared library.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ httrack.spec ++++++
--- /var/tmp/diff_new_pack.hYoKM3/_old  2026-10-13 17:52:34.547494802 +0200
+++ /var/tmp/diff_new_pack.hYoKM3/_new  2026-10-13 17:52:34.548494844 +0200
@@ -63,7 +63,7 @@
 
 %package -n libhttrack%{so_ver}
 Summary:        Shared library for httrack
-Group:          System/Libraries
+Provides:       weakremover(libhttrack2)
 
 %description -n libhttrack%{so_ver}
 This package contains the httrack shared libraries.
@@ -86,6 +86,24 @@
 
 %fdupes -s %{buildroot}
 
+##Ref: 
<https://docs.fedoraproject.org/en-US/packaging-guidelines/Directory_Replacement/>
+%pretrans -p <lua>
+-- Define the path to directory being replaced below.
+-- DO NOT add a trailing slash at the end.
+path = "/usr/share/httrack/html"
+st = posix.stat(path)
+if st and st.type == "directory" then
+  status = os.rename(path, path .. ".rpmmoved")
+  if not status then
+    suffix = 0
+    while not status do
+      suffix = suffix + 1
+      status = os.rename(path .. ".rpmmoved", path .. ".rpmmoved." .. suffix)
+    end
+    os.rename(path, path .. ".rpmmoved")
+  end
+end
+
 %post -n libhttrack%{so_ver} -p /sbin/ldconfig
 %postun -n libhttrack%{so_ver} -p /sbin/ldconfig
 
@@ -103,6 +121,7 @@
 %exclude %{_datadir}/%{name}/libtest/*.{c,h}
 %{_datadir}/metainfo/com.httrack.WebHTTrack.metainfo.xml
 %{_mandir}/man1/*%{ext_man}
+%ghost %{_datadir}/%{name}/html.rpmmoved
 
 %files devel
 %{_datadir}/%{name}/libtest/*.{c,h}

Reply via email to