Fixed typo in cups-genppdupdate script (bug #1046073).

Resolves: rhbz#1046073
This commit is contained in:
Tim Waugh 2014-01-02 15:48:27 +00:00
parent 9aa233d4f7
commit 8c8d6f805f
2 changed files with 5 additions and 2 deletions

View File

@ -87,7 +87,7 @@ Update CUPS+Gutenprint PPD files.
def die_if_not_directory (dir):
try:
st = os.stat (dir)
if not st.S_ISDIR (st.st_mode):
if not stat.S_ISDIR (st.st_mode):
os.chdir (dir)
except OSError, (e, s):
print "%s: invalid directory: %s" % (dir, s)

View File

@ -3,7 +3,7 @@
Name: gutenprint
Summary: Printer Drivers Package
Version: 5.2.9
Release: 14%{?dist}
Release: 15%{?dist}
Group: System Environment/Base
URL: http://gimp-print.sourceforge.net/
Source0: http://downloads.sourceforge.net/gimp-print/%{name}-%{version}.tar.bz2
@ -324,6 +324,9 @@ fi
/bin/rm -f /var/cache/foomatic/*
%changelog
* Thu Jan 2 2014 Tim Waugh <twaugh@redhat.com> - 5.2.9-15
- Fixed typo in cups-genppdupdate script (bug #1046073).
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.9-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild