forked from pool/python-gtk
Accepting request 1129155 from GNOME:Next
- Use %autosetup macro. Allows to eliminate the usage of deprecated %patchN. - add python-rpm-macros dependency OBS-URL: https://build.opensuse.org/request/show/1129155 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/python-gtk?expand=0&rev=6
This commit is contained in:
parent
70af26eef1
commit
1170131273
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 27 14:34:35 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Use %autosetup macro. Allows to eliminate the usage of
|
||||
deprecated %patchN.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 11 21:04:53 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-gtk
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -75,9 +75,7 @@ can write in python with PyGTK (within reason), but with all of
|
||||
python's benefits.
|
||||
|
||||
%prep
|
||||
%setup -q -n pygtk-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%autosetup -p1 -n pygtk-%{version}
|
||||
|
||||
find examples -type f -name "*.py" -exec sed -i "s|#!%{_bindir}/env python|#!%{_bindir}/python2|" {} \;
|
||||
find examples -type f -name "*.py" -exec sed -i "s|#! %{_bindir}/env python|#!%{_bindir}/python2|" {} \;
|
||||
|
Loading…
x
Reference in New Issue
Block a user