Update tracer to 0.6.2-1

This commit is contained in:
Jakub Kadlčík 2015-08-05 20:37:17 +02:00
parent 999ad7ea00
commit 32f6d21469
4 changed files with 20 additions and 47 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
/tracer-0.5.7.tar.gz
/tracer-0.5.8.tar.gz
/tracer-0.5.9.tar.gz
/tracer-0.6.2.tar.gz

View File

@ -1 +1 @@
91a339c71580a33c033c7ac0dd73c4d5 tracer-0.5.9.tar.gz
8e46b1d3a5635fd60be89d3dec5c33bb tracer-0.6.2.tar.gz

View File

@ -1,36 +0,0 @@
From 7f45aedd7871603e2e0346be28e59e82d481b5ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jakub=20Kadl=C4=8D=C3=ADk?= <frostyx@email.cz>
Date: Wed, 15 Jul 2015 10:05:53 +0200
Subject: [PATCH] Fix warning on new BeautifulSoup4-4.4.0 (RhBug:1240115)
---
tracer/resources/applications.py | 2 +-
tracer/resources/rules.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tracer/resources/applications.py b/tracer/resources/applications.py
index 8c8f4be..5f80ec8 100644
--- a/tracer/resources/applications.py
+++ b/tracer/resources/applications.py
@@ -80,7 +80,7 @@ def _load_definitions():
def _load(file):
try:
f = open(file)
- soup = BeautifulSoup(f.read())
+ soup = BeautifulSoup(f.read(), "lxml")
for child in soup.applications.children:
if not isinstance(child, element.Tag):
diff --git a/tracer/resources/rules.py b/tracer/resources/rules.py
index 268a443..77139e6 100644
--- a/tracer/resources/rules.py
+++ b/tracer/resources/rules.py
@@ -64,7 +64,7 @@ def _load_definitions():
def _load(file):
try:
f = open(file)
- soup = BeautifulSoup(f.read())
+ soup = BeautifulSoup(f.read(), "lxml")
for rule in soup.find_all("rule"):
r = Rule(rule.attrs)

View File

@ -1,6 +1,6 @@
Name: tracer
Version: 0.5.9
Release: 3%{?dist}
Version: 0.6.2
Release: 1%{?dist}
Summary: Finds outdated running applications in your system
BuildArch: noarch
@ -13,9 +13,6 @@ URL: http://tracer-package.com/
# tito build --tgz
Source0: %{name}-%{version}.tar.gz
# Fix for rhbz 1240115 from upstream.
Patch0: https://github.com/FrostyX/tracer/commit/7f45aedd7871603e2e0346be28e59e82d481b5ea.patch#/tracer-0.5.9_fix_bs4_rhbz_1240115.patch
BuildRequires: python2-devel
BuildRequires: asciidoc
BuildRequires: python-sphinx
@ -36,7 +33,6 @@ consider this application as outdated.
%prep
%setup -q
%patch0 -p1 -b .rhbz1240115
%build
@ -64,11 +60,23 @@ make DESTDIR=%{buildroot}/usr/share/ mo
%{python2_sitelib}/tracer/
%changelog
* Sat Jul 18 2015 Björn Esser <bjoern.esser@gmail.com> - 0.5.9-3
- add Patch0: Fix warning on new BeautifulSoup4-4.4.0 (#1240115)
* Wed Aug 05 2015 Jakub Kadlčík <frostyx@email.cz> 0.6.2-1
- Add --daemons-only and --hooks-only into manpage (frostyx@email.cz)
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sun Aug 02 2015 Jakub Kadlčík <frostyx@email.cz> 0.6.1-1
- Print unique package names in Affected by section; Fix #36 (frostyx@email.cz)
- Implement services autodetect functionality (frostyx@email.cz)
- Add equivalent --services-only and --daemons-only arguments
(frostyx@email.cz)
- Fix testing views on non-english systems (frostyx@email.cz)
- Fix compatibility issues on psutil-3; Fix #41 (frostyx@email.cz)
* Mon Jul 27 2015 Jakub Kadlčík <frostyx@email.cz> 0.6.0-1
- Fix warning on new BeautifulSoup4-4.4.0 (RhBug:1240115) (frostyx@email.cz)
- Add block with uninstalled packages (frostyx@email.cz)
- Find provided files only once per package name Significant performance
improvement (frostyx@email.cz)
- Implement hooks functionality (frostyx@email.cz)
* Mon May 18 2015 Jakub Kadlčík <frostyx@email.cz> 0.5.9-1
- Pick the most recent sqlite database (RhBug:1214961) (frostyx@email.cz)