1
0
forked from pool/squilt-python

Accepting request 1099468 from home:fbonazzi

Package the Python version of squilt, which is more maintainable

OBS-URL: https://build.opensuse.org/request/show/1099468
OBS-URL: https://build.opensuse.org/package/show/security/squilt-python?expand=0&rev=1
This commit is contained in:
Filippo Bonazzi 2023-07-19 10:18:02 +00:00 committed by Git OBS Bridge
commit 62dd40bd93
8 changed files with 117 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

18
_service Normal file
View File

@ -0,0 +1,18 @@
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/mgerstner/squilt.git</param>
<param name="revision">master</param>
<param name="versionformat">%cd.%h</param>
<param name="changesgenerate">enable</param>
</service>
<service name="set_version" mode="manual"/>
<service name="format_spec_file" mode="manual">
<param name="specfile">squilt-python.spec</param>
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/mgerstner/squilt.git</param>
<param name="changesrevision">dde2b0b7482ba6656b23c73ce12ff8550aac074b</param></service></servicedata>

View File

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

10
squilt-python.changes Normal file
View File

@ -0,0 +1,10 @@
-------------------------------------------------------------------
Wed Jul 19 10:14:54 UTC 2023 - filippo.bonazzi@suse.com
- Update to version 20230719.dde2b0b:
* Autodetect nsswitch.conf under /etc or /usr/etc
-------------------------------------------------------------------
Fri Jul 14 09:52:33 UTC 2023 - Filippo Bonazzi <filippo.bonazzi@suse.com>
- Package initial version

54
squilt-python.spec Normal file
View File

@ -0,0 +1,54 @@
#
# spec file for package squilt-python
#
# 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: squilt-python
Version: 20230719.dde2b0b
Release: 0
Summary: A quilt wrapper using nsjail
License: MIT
Group: Development/Tools/Version Control
URL: https://github.com/mgerstner/squilt
Source0: squilt-%{version}.tar.gz
Requires: nsjail
Requires: python
Requires: quilt
# x86_64 only due to dependency nsjail having ExclusiveArch x86_64
ExclusiveArch: x86_64
# This package provides an alternative implementation of squilt
Provides: squilt = %{version}-%{release}
Conflicts: squilt
%description
Wrapper to confine quilt with nsjail, written in Python
%prep
%setup -q -n squilt-%{version}
%build
# nothing to build
%install
install -Dm 0755 squilt %{buildroot}%{_bindir}/squilt
%files
%defattr(-,root,root)
%license LICENSE
%doc README.md
%{_bindir}/squilt
%changelog

4
squilt.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: squilt
version: 20230719.dde2b0b
mtime: 1689761510
commit: dde2b0b7482ba6656b23c73ce12ff8550aac074b