]> git.pld-linux.org Git - packages/d-feet.git/commitdiff
- updated to 0.3.16; now uses python3 auto/th/d-feet-0.3.16-1
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 7 May 2021 18:20:22 +0000 (20:20 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 7 May 2021 18:20:22 +0000 (20:20 +0200)
- added cleanup patch (clean up commented code which causes wrong recognition of python script)

d-feet-cleanup.patch [new file with mode: 0644]
d-feet.spec

diff --git a/d-feet-cleanup.patch b/d-feet-cleanup.patch
new file mode 100644 (file)
index 0000000..11d3979
--- /dev/null
@@ -0,0 +1,21 @@
+"#import os" causes recognition by libmagic as "ObjectiveC source" and not emitting script shebang dependency
+--- d-feet-0.3.16/src/d-feet.in.orig   2021-05-07 10:46:33.368616300 +0200
++++ d-feet-0.3.16/src/d-feet.in        2021-05-07 20:14:40.551616088 +0200
+@@ -20,17 +20,6 @@
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+-#import os
+-#gi_typelib_path = ["@pkglibdir@/girepository-1.0",]
+-#if 'GI_TYPELIB_PATH' in os.environ:
+-#    gi_typelib_path.append(os.environ['GI_TYPELIB_PATH'])
+-#os.environ['GI_TYPELIB_PATH'] = ":".join(gi_typelib_path)
+-
+-#ld_library_path = ["@pkglibdir@",]
+-#if 'LD_LIBRARY_PATH' in os.environ:
+-#    ld_library_path.append(os.environ['LD_LIBRARY_PATH'])
+-#os.environ['LD_LIBRARY_PATH'] = ":".join(ld_library_path)
+-
+ import os
+ import sys
+ sys.path.insert(1, '@pythondir@')
index 2c63d94a932f8ae5c5856e94480aebacd7f7e7c8..1ccf003147953436305200687fbb50fe1a939baa 100644 (file)
@@ -5,20 +5,21 @@
 Summary:       D-Feet - a D-Bus debugger
 Summary(pl.UTF-8):     D-Feet - debugger dla magistrali D-Bus
 Name:          d-feet
-Version:       0.3.15
-Release:       5
+Version:       0.3.16
+Release:       1
 License:       GPL v2+
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/d-feet/0.3/%{name}-%{version}.tar.xz
-# Source0-md5: 44f046c5c35256f346db516dab3f938a
+Source0:       https://download.gnome.org/sources/d-feet/0.3/%{name}-%{version}.tar.xz
+# Source0-md5: c5cc09323c725210b0c420e40fb81e4c
+Patch0:                %{name}-cleanup.patch
 URL:           https://wiki.gnome.org/Apps/DFeet
 BuildRequires: gobject-introspection-devel >= 0.9.6
 BuildRequires: gtk+3-devel >= 3.10
 BuildRequires: meson >= 0.50.0
 BuildRequires: ninja >= 1.5
 BuildRequires: pkgconfig
-BuildRequires: python-devel >= 1:2.7
-%{?with_tests:BuildRequires:   python-pep8}
+BuildRequires: python3-devel >= 1:3.5
+%{?with_tests:BuildRequires:   python3-pep8}
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.736
 BuildRequires: tar >= 1:1.22
@@ -29,8 +30,8 @@ Requires(post,postun):        glib2-devel >= 1:2.26.0
 Requires(post,postun): gtk-update-icon-cache
 Requires(post,postun): hicolor-icon-theme
 Requires:      gtk+3 >= 3.10
-Requires:      python >= 1:2.7
-Requires:      python-pygobject3 >= 3.4
+Requires:      python3 >= 1:3.5
+Requires:      python3-pygobject3 >= 3.4
 Suggests:      libwnck >= 3.0
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -43,6 +44,7 @@ D-Feet to debugger dla magistrali D-Bus.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %meson build \
@@ -78,7 +80,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS NEWS README TODO
+%doc AUTHORS NEWS README.md TODO
 %attr(755,root,root) %{_bindir}/d-feet
 %{_datadir}/d-feet
 %{_datadir}/glib-2.0/schemas/org.gnome.dfeet.gschema.xml
This page took 0.105953 seconds and 4 git commands to generate.