mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-28 14:28:28 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bcf07d8fd5 | |||
| b0204a156b | |||
| 76569f73c6 | |||
| f18517432a | |||
| 217efa2420 |
@@ -0,0 +1,5 @@
|
|||||||
|
project pkg {
|
||||||
|
rpm {
|
||||||
|
spec = "python-nmcli.spec"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
Name: python-nmcli
|
||||||
|
Version: 1.8.0
|
||||||
|
Release: 1%?dist
|
||||||
|
Summary: A python wrapper library for the network-manager cli client
|
||||||
|
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/ushiboy/nmcli
|
||||||
|
Source: %{pypi_source nmcli}
|
||||||
|
Packager: madonuko <mado@fyralabs.com>
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
|
||||||
|
|
||||||
|
%global _description %{expand:
|
||||||
|
nmcli is a python wrapper library for the network-manager cli client.}
|
||||||
|
|
||||||
|
%description %_description
|
||||||
|
|
||||||
|
%package -n python3-nmcli
|
||||||
|
Summary: %{summary}
|
||||||
|
|
||||||
|
%description -n python3-nmcli %_description
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n nmcli-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_wheel
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
%pyproject_save_files nmcli
|
||||||
|
|
||||||
|
|
||||||
|
%check
|
||||||
|
%pyproject_check_import
|
||||||
|
|
||||||
|
|
||||||
|
%files -n python3-nmcli -f %{pyproject_files}
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE.txt
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Jun 28 2026 madonuko <mado@fyralabs.com> - 1.8.0-1
|
||||||
|
- Initial package
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
rpm.version(pypi("nmcli"));
|
||||||
@@ -1,15 +1,13 @@
|
|||||||
Name: run0-sudo-shim
|
Name: run0-sudo-shim
|
||||||
Version: 1.3.1
|
Version: 1.3.1
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: An imitation of sudo, using run0 internally
|
Summary: An imitation of sudo, using run0 internally
|
||||||
SourceLicense: BSD-3-Clause
|
SourceLicense: BSD-3-Clause
|
||||||
License: (Apache-2.0 OR MIT) AND BSD-3-Clause AND MIT
|
License: (Apache-2.0 OR MIT) AND BSD-3-Clause AND MIT
|
||||||
URL: https://github.com/LordGrimmauld/run0-sudo-shim
|
URL: https://github.com/LordGrimmauld/run0-sudo-shim
|
||||||
Source0: %url/archive/refs/tags/%version.tar.gz
|
Source0: %url/archive/refs/tags/%version.tar.gz
|
||||||
Packager: madonuko <mado@fyralabs.com>
|
|
||||||
BuildRequires: rpm_macro(cargo_install) rust-packaging
|
BuildRequires: rpm_macro(cargo_install) rust-packaging
|
||||||
Conflicts: sudo
|
Conflicts: sudo
|
||||||
Provides: sudo = %evr
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
run0-sudo-shim attempts to imitate sudo as close as possible, while actually using run0 in the back.
|
run0-sudo-shim attempts to imitate sudo as close as possible, while actually using run0 in the back.
|
||||||
@@ -35,7 +33,3 @@ ln -s %_bindir/run0-sudo-shim %buildroot%_bindir/sudo
|
|||||||
%license LICENSE.dependencies
|
%license LICENSE.dependencies
|
||||||
%_bindir/run0-sudo-shim
|
%_bindir/run0-sudo-shim
|
||||||
%_bindir/sudo
|
%_bindir/sudo
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Sun Jun 28 2026 madonuko <mado@fyralabs.com> - 1.3.1-2
|
|
||||||
- add provides sudo
|
|
||||||
|
|||||||
Reference in New Issue
Block a user