commit fdee1a150d3650043e2288ea4565855289f872563eb27c0e7b834d27940d5380 Author: David Sterba Date: Mon May 27 13:25:37 2019 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/fuse-oscfs.changes b/fuse-oscfs.changes new file mode 100644 index 0000000..e3ac679 --- /dev/null +++ b/fuse-oscfs.changes @@ -0,0 +1,26 @@ +------------------------------------------------------------------- +Mon May 27 12:22:44 UTC 2019 - mgerstner + +- 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. diff --git a/fuse-oscfs.spec b/fuse-oscfs.spec new file mode 100644 index 0000000..272a5dc --- /dev/null +++ b/fuse-oscfs.spec @@ -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 diff --git a/v0.70.tar.gz b/v0.70.tar.gz new file mode 100644 index 0000000..023bfb0 --- /dev/null +++ b/v0.70.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe99c90f19448f0e523c9e37d2e1e4b8672ae2574b2f31d01cbc46c3c10ba007 +size 31774