SHA256
1
0
forked from pool/fuse-oscfs

Accepting request 705678 from home:mgerstner:branches:filesystems

Since openSUSE:Tools/osc is only running on Python3 any more
filesystems/python2-oscfs stopped working. This update supports Python3 and
renames the package to filesystems/fuse-oscfs similar to the naming scheme of
other fuse file systems.

OBS-URL: https://build.opensuse.org/request/show/705678
OBS-URL: https://build.opensuse.org/package/show/filesystems/fuse-oscfs?expand=0&rev=1
This commit is contained in:
David Sterba 2019-05-27 13:25:37 +00:00 committed by Git OBS Bridge
commit fdee1a150d
5 changed files with 111 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

26
fuse-oscfs.changes Normal file
View File

@ -0,0 +1,26 @@
-------------------------------------------------------------------
Mon May 27 12:22:44 UTC 2019 - mgerstner <matthias.gerstner@suse.com>
- major update to version 0.7.0:
- Added support for running in Python3 with the Python3 osc module installed.
- support mounting of oscfs in non-empty directories.
- minor bugfixes with accessing package and project meta data via `.oscfs`.
-------------------------------------------------------------------
Thu Aug 9 14:13:12 UTC 2018 - matthias.gerstner@suse.com
- minor update to version 0.6.1:
- fix bad read speed when accessing package binaries via
`.oscfs/binaries/...`
-------------------------------------------------------------------
Thu Jul 12 20:17:11 UTC 2018 - jengelh@inai.de
- Fix grammar in description.
-------------------------------------------------------------------
Thu Jul 12 11:02:05 UTC 2018 - matthias.gerstner@suse.com
- initial version of new package for oscfs. This is currently a python2-only
package.

58
fuse-oscfs.spec Normal file
View File

@ -0,0 +1,58 @@
#
# spec file for package fuse-oscfs
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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.70
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: https://github.com/mgerstner/oscfs/archive/v%{version}.tar.gz
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

3
v0.70.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fe99c90f19448f0e523c9e37d2e1e4b8672ae2574b2f31d01cbc46c3c10ba007
size 31774