forked from pool/fuse-oscfs
Matthias Gerstner
2441d86930
* NEWS: changes for next release * regtest: compatibility with newer OSC module versions * obs: implement transparent retry to prevent HTTP 503 woes * obs: remove extraneous newlines from project and package meta output * error handling: support full exception backtrace report * debugging: support writing stdout and stderr to a logfile for analysis * regtest: fix unmount in early auth error failure case * regtest: make sure also to remove cookiejar for early auth error test * Revert "regtest: add some extra robustness against potential umount races" * regtest: add some extra robustness against potential umount races * fix regressions introduced by commit cd692a1d2f9fabe4ac5451832c3b7df109302c07 * urlopenwrapper: fix sshkey check * Package: fix symlink path to update package * urlopen wrapper: support disabling the wrapper on the command line * obs.getBinaries(): fix strange osc behaviour if zero length files appear * add command line option to disable build artifacts caching * module_helper: insert local modules directory at the front of the path * oscfs wrapper script: use explicitly python3 by default * bugfix: fix early auth check on non-OBS instance OBS-URL: https://build.opensuse.org/package/show/filesystems/fuse-oscfs?expand=0&rev=11
59 lines
1.8 KiB
RPMSpec
59 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package fuse-oscfs
|
|
#
|
|
# 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
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: fuse-oscfs
|
|
Version: 0.9.0
|
|
Release: 0
|
|
Summary: A FUSE file system for accessing Open Build Service instances
|
|
License: GPL-2.0-or-later
|
|
Group: System/Filesystems
|
|
URL: https://github.com/mgerstner/oscfs
|
|
Source: oscfs-%{version}.tar.xz
|
|
BuildRequires: python-rpm-macros
|
|
BuildRequires: python3-setuptools
|
|
Requires: osc
|
|
Requires: python3-fusepy
|
|
BuildArch: noarch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Provides: python2-oscfs = %version-%release
|
|
Obsoletes: python2-oscfs < %version-%release
|
|
|
|
%description
|
|
oscfs is a FUSE-based user space file system for accessing Open
|
|
Build Service (OBS) instances. It is based on the osc (openSUSE Commander)
|
|
Python package for interfacing with OBS. At the moment, it provides read-only
|
|
access for inspecting packages and their metadata.
|
|
|
|
%prep
|
|
%setup -q -n oscfs-%{version}
|
|
|
|
%build
|
|
python3 setup.py build
|
|
|
|
%install
|
|
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README.md NEWS.rst
|
|
%license LICENSE.txt
|
|
%{python3_sitelib}/*
|
|
%{_bindir}/oscfs
|
|
|
|
%changelog
|