File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -421,7 +421,7 @@ def run(self) -> None:
421421
422422 def __del__ (self ) -> None :
423423 """Close the input and output files."""
424- if self . fin :
424+ if hasattr ( self , ' fin' ) :
425425 self .fin .close ()
426- if self . fout :
426+ if hasattr ( self , ' fout' ) :
427427 self .fout .close ()
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def __init__(self, options):
2222 self .year = options ['copyright_year' ]
2323 self .copyrights = []
2424 self .buildrules = []
25- self .distro_copyright = '# Copyright (c) {0} SUSE LLC' .format (self .year )
25+ self .distro_copyright = '# Copyright (c) {0} SUSE LLC and contributors ' .format (self .year )
2626 self .vimmodeline = ''
2727
2828 def _add_pkg_header (self ):
Original file line number Diff line number Diff line change 22#
33# spec file for package header
44#
5- # Copyright (c) 2013 SUSE LLC
5+ # Copyright (c) 2013 SUSE LLC and contributors
66# Copyright (c) 2012 Dominique Leuenberger, Amsterdam, The Netherlands
77#
88# All modifications and additions to the file contributed by third parties
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ Summary: Small Embeddable HTTP Server Library
2525License: LGPL-2.1 +
2626Group: Productivity/Networking/Web/Servers
2727Url: https://www.gnu.org/software/libmicrohttpd/
28- Source0: http://ftp .gnu.org/gnu /libmicrohttpd/%{name }-%{version }.tar.gz
29- Source1: http://ftp .gnu.org/gnu /libmicrohttpd/%{name }-%{version }.tar.gz.sig
28+ Source0: http://ftpmirror .gnu.org/libmicrohttpd/%{name }-%{version }.tar.gz
29+ Source1: http://ftpmirror .gnu.org/libmicrohttpd/%{name }-%{version }.tar.gz.sig
3030Source2: libmicrohttpd.keyring
3131# PATCH-WORKAROUND-OPENSUSE: the threads have a problem deadlocking (in OBS)
3232Patch1: disable-stalling-test.patch
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ Summary: Small Embeddable HTTP Server Library
2525License: LGPL-2.1 -or-later
2626Group: Productivity/Networking/Web/Servers
2727URL: https://www.gnu.org/software/libmicrohttpd/
28- Source0: http://ftp .gnu.org/gnu /libmicrohttpd/%{name }-%{version }.tar.gz
29- Source1: http://ftp .gnu.org/gnu /libmicrohttpd/%{name }-%{version }.tar.gz.sig
28+ Source0: http://ftpmirror .gnu.org/libmicrohttpd/%{name }-%{version }.tar.gz
29+ Source1: http://ftpmirror .gnu.org/libmicrohttpd/%{name }-%{version }.tar.gz.sig
3030Source2: libmicrohttpd.keyring
3131# PATCH-WORKAROUND-OPENSUSE: the threads have a problem deadlocking (in OBS)
3232Patch1: disable-stalling-test.patch
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ Summary: Small Embeddable HTTP Server Library
2525License: LGPL-2.1 -or-later
2626Group: Productivity/Networking/Web/Servers
2727URL: https://www.gnu.org/software/libmicrohttpd/
28- Source0: http ://ftp .gnu.org/gnu /libmicrohttpd/%{name }-%{version }.tar.gz
29- Source1: http ://ftp .gnu.org/gnu /libmicrohttpd/%{name }-%{version }.tar.gz.sig
28+ Source0: https ://ftpmirror .gnu.org/libmicrohttpd/%{name }-%{version }.tar.gz
29+ Source1: https ://ftpmirror .gnu.org/libmicrohttpd/%{name }-%{version }.tar.gz.sig
3030Source2: libmicrohttpd.keyring
3131# PATCH-WORKAROUND-OPENSUSE: the threads have a problem deadlocking (in OBS)
3232Patch1: disable-stalling-test.patch
You can’t perform that action at this time.
0 commit comments