Hello community,

here is the log from the commit of package rpmconf for openSUSE:Factory checked 
in at 2015-07-08 06:59:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rpmconf (Old)
 and      /work/SRC/openSUSE:Factory/.rpmconf.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rpmconf"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rpmconf/rpmconf.changes  2015-06-05 
08:46:09.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rpmconf.new/rpmconf.changes     2015-07-08 
06:59:25.000000000 +0200
@@ -1,0 +2,7 @@
+Sat Jul  4 20:12:03 UTC 2015 - sor.ale...@meowr.ru
+
+- Update to 1.0.12 (changes since 1.0.9):
+  * Other method for stdin flush and handle Ctrl+C correctly.
+  * Disable pylint warnings.
+
+-------------------------------------------------------------------

Old:
----
  rpmconf-1.0.9-1.tar.gz

New:
----
  rpmconf-1.0.12.tar.gz

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

Other differences:
------------------
++++++ rpmconf.spec ++++++
--- /var/tmp/diff_new_pack.8bHfCW/_old  2015-07-08 06:59:26.000000000 +0200
+++ /var/tmp/diff_new_pack.8bHfCW/_new  2015-07-08 06:59:26.000000000 +0200
@@ -17,13 +17,13 @@
 
 
 Name:           rpmconf
-Version:        1.0.9
+Version:        1.0.12
 Release:        0
 Summary:        Tool to handle rpmnew and rpmsave files
 License:        GPL-3.0+
 Group:          System/Base
 Url:            https://github.com/xsuchy/rpmconf
-Source:         
https://github.com/xsuchy/%{name}/archive/%{name}-%{version}-1.tar.gz
+Source:         
https://github.com/xsuchy/%{name}/archive/%{name}-%{version}-1.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  docbook-utils-minimal
 BuildRequires:  docbook_3
 BuildRequires:  python3-Sphinx
@@ -63,7 +63,7 @@
 %build
 python3 setup.py build
 docbook2man %{name}.sgml
-make %{?_smp_mflags} -C docs html man
+make %{?_smp_mflags} -C docs man html
 
 %install
 python3 setup.py install --skip-build \
@@ -73,7 +73,6 @@
 install -Dm 0644 %{name}.8 %{buildroot}%{_mandir}/man8/%{name}.8
 install -Dm 0644 docs/build/man/%{name}.3 %{buildroot}%{_mandir}/man3/%{name}.3
 mkdir -p %{buildroot}%{_datadir}/%{name}/
-find docs
 find docs/build/ -type f -name ".buildinfo" -delete -print
 
 %files

++++++ rpmconf-1.0.9-1.tar.gz -> rpmconf-1.0.12.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmconf-rpmconf-1.0.9-1/rel-eng/packages/rpmconf 
new/rpmconf-rpmconf-1.0.12-1/rel-eng/packages/rpmconf
--- old/rpmconf-rpmconf-1.0.9-1/rel-eng/packages/rpmconf        2015-06-01 
11:44:06.000000000 +0200
+++ new/rpmconf-rpmconf-1.0.12-1/rel-eng/packages/rpmconf       2015-06-30 
14:24:08.000000000 +0200
@@ -1 +1 @@
-1.0.9-1 ./
+1.0.12-1 ./
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmconf-rpmconf-1.0.9-1/rel-eng/releasers.conf 
new/rpmconf-rpmconf-1.0.12-1/rel-eng/releasers.conf
--- old/rpmconf-rpmconf-1.0.9-1/rel-eng/releasers.conf  2015-06-01 
11:44:06.000000000 +0200
+++ new/rpmconf-rpmconf-1.0.12-1/rel-eng/releasers.conf 2015-06-30 
14:24:08.000000000 +0200
@@ -6,9 +6,9 @@
 releaser = tito.release.FedoraGitReleaser
 branches = f21
 
-[fedora-f20]
+[fedora-f22]
 releaser = tito.release.FedoraGitReleaser
-branches = f20
+branches = f22
 
 [epel]
 releaser = tito.release.FedoraGitReleaser
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmconf-rpmconf-1.0.9-1/rpmconf/rpmconf.py 
new/rpmconf-rpmconf-1.0.12-1/rpmconf/rpmconf.py
--- old/rpmconf-rpmconf-1.0.9-1/rpmconf/rpmconf.py      2015-06-01 
11:44:06.000000000 +0200
+++ new/rpmconf-rpmconf-1.0.12-1/rpmconf/rpmconf.py     2015-06-30 
14:24:08.000000000 +0200
@@ -31,10 +31,12 @@
 import rpm
 import shutil
 import signal
+import select
 import subprocess
 import sys
-from termios import tcflush, TCIOFLUSH
+import termios
 import time
+import tty
 
 __version__ = "1.0.90"
 
@@ -100,7 +102,15 @@
 
         """
         if os.isatty(sys.stdin.fileno()):
-            tcflush(sys.stdin, TCIOFLUSH)
+            old_settings = termios.tcgetattr(sys.stdin)
+            try:
+                tty.setcbreak(sys.stdin.fileno(), termios.TCSANOW)
+                while select.select([sys.stdin], [], [], 0) == ([sys.stdin], 
[], []):
+                    sys.stdin.read(1)
+            finally:
+                termios.tcsetattr(sys.stdin, termios.TCSANOW, old_settings)
+        # BZ 1237075 workaround
+        signal.signal(signal.SIGINT, signal.default_int_handler)
         return input(question)
 
     @staticmethod
@@ -113,10 +123,10 @@
         :rtype: list
 
         """
-        files = rpm.fi(package)
+        files = rpm.fi(package) # pylint: disable=no-member
         result = []
         for rpm_file in files:
-            if rpm_file[4] & rpm.RPMFILE_CONFIG:
+            if rpm_file[4] & rpm.RPMFILE_CONFIG: # pylint: disable=no-member
                 result.append(rpm_file[0])
         return result
 
@@ -283,6 +293,8 @@
                 option = self.flush_input("Your choice: ").upper()
             except EOFError:
                 option = "S"
+            except KeyboardInterrupt:
+                sys.exit(1)
             if not option:
                 option = "N"
             if option == "D":
@@ -322,6 +334,8 @@
                 option = self.flush_input("Your choice: ").upper()
             except EOFError:
                 option = "S"
+            except KeyboardInterrupt:
+                sys.exit(1)
             if not option:
                 option = "Y"
             if option == "D":
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmconf-rpmconf-1.0.9-1/rpmconf.spec 
new/rpmconf-rpmconf-1.0.12-1/rpmconf.spec
--- old/rpmconf-rpmconf-1.0.9-1/rpmconf.spec    2015-06-01 11:44:06.000000000 
+0200
+++ new/rpmconf-rpmconf-1.0.12-1/rpmconf.spec   2015-06-30 14:24:08.000000000 
+0200
@@ -1,7 +1,7 @@
 Name:           rpmconf
 Summary:        Tool to handle rpmnew and rpmsave files
 License:        GPLv3
-Version:        1.0.9
+Version:        1.0.12
 Release:        1%{?dist}
 URL:            http://wiki.github.com/xsuchy/rpmconf
 # source is created by:
@@ -92,6 +92,15 @@
 %dir %{_datadir}/rpmconf
 
 %changelog
+* Tue Jun 30 2015 Miroslav Suchý <msu...@redhat.com> 1.0.12-1
+- disable pylint warning
+
+* Tue Jun 30 2015 Miroslav Suchý <msu...@redhat.com> 1.0.11-1
+- disable pylint warning
+
+* Tue Jun 30 2015 Miroslav Suchý <miros...@suchy.cz> 1.0.10-1
+- 1236722 - other method for stdin flush and handle Ctrl+C correctly
+
 * Mon Jun 01 2015 Miroslav Suchý <msu...@redhat.com> 1.0.9-1
 - pylint: let the logger expand params
 - use soft deps
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmconf-rpmconf-1.0.9-1/setup.py 
new/rpmconf-rpmconf-1.0.12-1/setup.py
--- old/rpmconf-rpmconf-1.0.9-1/setup.py        2015-06-01 11:44:06.000000000 
+0200
+++ new/rpmconf-rpmconf-1.0.12-1/setup.py       2015-06-30 14:24:08.000000000 
+0200
@@ -4,7 +4,7 @@
 
 setup(name = "rpmconf",
       packages = ["rpmconf"],
-      version = "1.0.9",
+      version = "1.0.12",
       description = "Handle rpmnew and rpmsave files",
       author = "Igor Gnatenko",
       author_email = "i.gnatenko.br...@gmail.com",


Reply via email to