[packages/python-fuse] - fixed dirs ownership, updated dependencies; release 2
qboosh
qboosh at pld-linux.org
Fri Mar 1 18:45:49 CET 2024
commit 28113d3e84a49f15b35e89e7f73075d704806727
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Mar 1 18:22:14 2024 +0100
- fixed dirs ownership, updated dependencies; release 2
python-fuse.spec | 31 ++++++++++++++++++-------------
1 file changed, 18 insertions(+), 13 deletions(-)
---
diff --git a/python-fuse.spec b/python-fuse.spec
index e40c86c..1d73ee6 100644
--- a/python-fuse.spec
+++ b/python-fuse.spec
@@ -1,3 +1,4 @@
+#
# Conditional build:
%bcond_without python2 # CPython 2.x module
%bcond_without python3 # CPython 3.x module
@@ -7,23 +8,27 @@ Summary: Python interface to FUSE (Filesystem in USErspace)
Summary(pl.UTF-8): Pythonowy interfejs do FUSE (systemu plików w przestrzeni użytkownika)
Name: python-%{module}
Version: 1.0.7
-Release: 1
+Release: 2
License: LGPL v2.1
Group: Development/Languages/Python
+# TODO: use named tarballs
+#Source0: https://github.com/libfuse/python-fuse/archive/v%{version}/%{name}-%{version}.tar.gz
Source0: https://github.com/libfuse/python-fuse/archive/refs/tags/v%{version}.tar.gz
# Source0-md5: e463d5fb1ff20df2478cba670eaf56da
URL: https://github.com/libfuse/python-fuse
-BuildRequires: libfuse-devel
+BuildRequires: libfuse-devel >= 2.1
BuildRequires: pkgconfig
%if %{with python2}
-BuildRequires: python-devel >= 1:2.5
+BuildRequires: python-devel >= 1:2.7
+BuildRequires: python-setuptools
%endif
%if %{with python3}
-BuildRequires: python3-devel
+BuildRequires: python3-devel >= 1:3.5
+BuildRequires: python3-setuptools
%endif
BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.710
-Requires: python-modules
+BuildRequires: rpmbuild(macros) >= 1.714
+Requires: python-modules >= 1:2.7
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -33,12 +38,11 @@ Python interface to FUSE (Filesystem in USErspace).
Pythonowy interfejs do FUSE (Filesystem in USErspace - systemu plików
w przestrzeni użytkownika).
-
%package -n python3-%{module}
Summary: Python interface to FUSE (Filesystem in USErspace)
Summary(pl.UTF-8): Pythonowy interfejs do FUSE (systemu plików w przestrzeni użytkownika)
Group: Libraries/Python
-Requires: python3-modules >= 1:3.2
+Requires: python3-modules >= 1:3.5
%description -n python3-%{module}
Python interface to FUSE (Filesystem in USErspace).
@@ -48,7 +52,7 @@ Pythonowy interfejs do FUSE (Filesystem in USErspace - systemu plików
w przestrzeni użytkownika).
%prep
-%setup -q -n python-fuse-%{version}
+%setup -q
%build
%if %{with python2}
@@ -64,6 +68,7 @@ rm -rf $RPM_BUILD_ROOT
%if %{with python2}
%py_install
+
%py_postclean
%endif
@@ -102,12 +107,12 @@ rm -rf $RPM_BUILD_ROOT
%files -n python3-%{module}
%defattr(644,root,root,755)
%doc AUTHORS FAQ README*
-%{py3_sitedir}/%{module}.py
-%{py3_sitedir}/__pycache__
+%{py3_sitedir}/fuse.py
+%{py3_sitedir}/__pycache__/fuse.cpython-*.py[co]
+%dir %{py3_sitedir}/fuseparts
%{py3_sitedir}/fuseparts/*.py
%attr(755,root,root) %{py3_sitedir}/fuseparts/*.so
%{py3_sitedir}/fuseparts/__pycache__
-%{py3_sitedir}/%{module}_*-%{version}-py*.egg-info
+%{py3_sitedir}/fuse_python-%{version}-py*.egg-info
%{_examplesdir}/python3-%{module}-%{version}
%endif
-
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-fuse.git/commitdiff/28113d3e84a49f15b35e89e7f73075d704806727
More information about the pld-cvs-commit
mailing list