Mailinglist Archive: opensuse-commit (1903 mails)

< Previous Next >
commit dpkg for openSUSE:Factory
Hello community,

here is the log from the commit of package dpkg for openSUSE:Factory checked in
at 2019-04-05 11:55:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dpkg (Old)
and /work/SRC/openSUSE:Factory/.dpkg.new.3908 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dpkg"

Fri Apr 5 11:55:57 2019 rev:28 rq:690791 version:1.19.0.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/dpkg/update-alternatives.changes 2019-03-18
10:33:46.207554397 +0100
+++ /work/SRC/openSUSE:Factory/.dpkg.new.3908/update-alternatives.changes
2019-04-05 11:55:59.726308129 +0200
@@ -1,0 +2,6 @@
+Tue Apr 2 20:04:25 UTC 2019 - Andreas Schwab <schwab@xxxxxxx>
+
+- Remove useless uses of rpm.expand
+- Fix use of file:close
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ update-alternatives.spec ++++++
--- /var/tmp/diff_new_pack.RYiM7L/_old 2019-04-05 11:56:00.590308744 +0200
+++ /var/tmp/diff_new_pack.RYiM7L/_new 2019-04-05 11:56:00.594308747 +0200
@@ -75,7 +75,7 @@
print("migrating update alternatives database to new location")
-- We proceed even if no alternatives directory exists, such situation
-- occurs in buildroot environment
- new_location=rpm.expand('%{_localstatedir}/lib/alternatives/')
+ new_location='%{_localstatedir}/lib/alternatives/'
for i,old_file in pairs(posix.dir("var/lib/rpm/alternatives/")) do
print(old_file.."\n")
new_file = string.gsub(old_file, "(.*/)(.*)", new_location .. "%2")
@@ -85,8 +85,7 @@
posix.rmdir('var/lib/rpm/alternatives')
end
-- touch file
-new_file = io.open(rpm.expand('%{_localstatedir}/log/alternatives.log'), "w")
-new_file.close()
+io.open('%{_localstatedir}/log/alternatives.log', "w"):close()

%files
%license COPYING


< Previous Next >
This Thread
  • No further messages