Hello community, here is the log from the commit of package rpmconf for openSUSE:Factory checked in at 2015-11-17 14:23:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-08-21 07:42:03.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rpmconf.new/rpmconf.changes 2015-11-17 14:23:27.000000000 +0100 @@ -1,0 +2,6 @@ +Mon Nov 16 14:15:34 UTC 2015 - [email protected] + +- Update to 1.0.13: + * Do TB when somebody remove file under our hand. + +------------------------------------------------------------------- Old: ---- rpmconf-1.0.12.tar.gz New: ---- rpmconf-1.0.13.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rpmconf.spec ++++++ --- /var/tmp/diff_new_pack.kaSPZ1/_old 2015-11-17 14:23:28.000000000 +0100 +++ /var/tmp/diff_new_pack.kaSPZ1/_new 2015-11-17 14:23:28.000000000 +0100 @@ -17,7 +17,7 @@ Name: rpmconf -Version: 1.0.12 +Version: 1.0.13 Release: 0 Summary: Tool to handle rpmnew and rpmsave files License: GPL-3.0+ @@ -60,8 +60,9 @@ %install python3 setup.py install --skip-build \ - --install-scripts %{_sbindir} \ - --root %{buildroot} + --root %{buildroot} \ + --install-scripts %{_sbindir} + chmod a+x %{buildroot}%{python3_sitelib}/%{name}/%{name}.py install -Dm 0644 %{name}.8 %{buildroot}%{_mandir}/man8/%{name}.8 install -Dm 0644 docs/build/man/%{name}.3 %{buildroot}%{_mandir}/man3/%{name}.3 @@ -79,7 +80,7 @@ %defattr(-,root,root) %doc LICENSE README TODO %{python3_sitelib}/%{name}/ -%{python3_sitelib}/%{name}-*.egg-info +%{python3_sitelib}/%{name}-* %{_mandir}/man3/%{name}.3%{?ext_man} %changelog ++++++ rpmconf-1.0.12.tar.gz -> rpmconf-1.0.13.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmconf-rpmconf-1.0.12-1/rel-eng/packages/rpmconf new/rpmconf-rpmconf-1.0.13-1/rel-eng/packages/rpmconf --- old/rpmconf-rpmconf-1.0.12-1/rel-eng/packages/rpmconf 2015-06-30 14:24:08.000000000 +0200 +++ new/rpmconf-rpmconf-1.0.13-1/rel-eng/packages/rpmconf 2015-11-13 16:56:44.000000000 +0100 @@ -1 +1 @@ -1.0.12-1 ./ +1.0.13-1 ./ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmconf-rpmconf-1.0.12-1/rpmconf/rpmconf.py new/rpmconf-rpmconf-1.0.13-1/rpmconf/rpmconf.py --- old/rpmconf-rpmconf-1.0.12-1/rpmconf/rpmconf.py 2015-06-30 14:24:08.000000000 +0200 +++ new/rpmconf-rpmconf-1.0.13-1/rpmconf/rpmconf.py 2015-11-13 16:56:44.000000000 +0100 @@ -39,7 +39,8 @@ import tty __version__ = "1.0.90" - +#uncomment when rpm 4.13 is available +#rpm.setInterruptSafety(False) class RpmConf(object): """ @@ -287,6 +288,9 @@ option = "" while (option not in ["Y", "I", "N", "O", "S"]): + if not os.access(other_file, os.F_OK): + print("File {} was removed by 3rd party. Skipping.".format(other_file)) + return self._ls_conf_file(conf_file, other_file) print(prompt) try: @@ -295,6 +299,9 @@ option = "S" except KeyboardInterrupt: sys.exit(1) + if not os.access(other_file, os.F_OK): + print("File {} was removed by 3rd party. Skipping.".format(other_file)) + return if not option: option = "N" if option == "D": @@ -328,6 +335,9 @@ option = "" while (option not in ["Y", "I", "N", "O", "S"]): + if not os.access(other_file, os.F_OK): + print("File {} was removed by 3rd party. Skipping.".format(other_file)) + return self._ls_conf_file(conf_file, other_file) print(prompt) try: @@ -336,6 +346,9 @@ option = "S" except KeyboardInterrupt: sys.exit(1) + if not os.access(other_file, os.F_OK): + print("File {} was removed by 3rd party. Skipping.".format(other_file)) + return if not option: option = "Y" if option == "D": diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmconf-rpmconf-1.0.12-1/rpmconf.spec new/rpmconf-rpmconf-1.0.13-1/rpmconf.spec --- old/rpmconf-rpmconf-1.0.12-1/rpmconf.spec 2015-06-30 14:24:08.000000000 +0200 +++ new/rpmconf-rpmconf-1.0.13-1/rpmconf.spec 2015-11-13 16:56:44.000000000 +0100 @@ -1,7 +1,7 @@ Name: rpmconf Summary: Tool to handle rpmnew and rpmsave files License: GPLv3 -Version: 1.0.12 +Version: 1.0.13 Release: 1%{?dist} URL: http://wiki.github.com/xsuchy/rpmconf # source is created by: @@ -92,6 +92,9 @@ %dir %{_datadir}/rpmconf %changelog +* Fri Nov 13 2015 Miroslav Suchý <[email protected]> 1.0.13-1 +- 1278134 - do TB when somebody remove file under our hand + * Tue Jun 30 2015 Miroslav Suchý <[email protected]> 1.0.12-1 - disable pylint warning diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmconf-rpmconf-1.0.12-1/setup.py new/rpmconf-rpmconf-1.0.13-1/setup.py --- old/rpmconf-rpmconf-1.0.12-1/setup.py 2015-06-30 14:24:08.000000000 +0200 +++ new/rpmconf-rpmconf-1.0.13-1/setup.py 2015-11-13 16:56:44.000000000 +0100 @@ -4,7 +4,7 @@ setup(name = "rpmconf", packages = ["rpmconf"], - version = "1.0.12", + version = "1.0.13", description = "Handle rpmnew and rpmsave files", author = "Igor Gnatenko", author_email = "[email protected]",
