mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-28 14:28:28 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e6914ff78f | |||
| 8043c62aaf | |||
| 853c4c0d29 | |||
| 5e2de75b38 |
@@ -1,5 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "python-nmcli.spec"
|
||||
}
|
||||
}
|
||||
@@ -1,51 +0,0 @@
|
||||
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
|
||||
@@ -1 +0,0 @@
|
||||
rpm.version(pypi("nmcli"));
|
||||
@@ -1,13 +1,15 @@
|
||||
Name: run0-sudo-shim
|
||||
Version: 1.3.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: An imitation of sudo, using run0 internally
|
||||
SourceLicense: BSD-3-Clause
|
||||
License: (Apache-2.0 OR MIT) AND BSD-3-Clause AND MIT
|
||||
URL: https://github.com/LordGrimmauld/run0-sudo-shim
|
||||
Source0: %url/archive/refs/tags/%version.tar.gz
|
||||
Packager: madonuko <mado@fyralabs.com>
|
||||
BuildRequires: rpm_macro(cargo_install) rust-packaging
|
||||
Conflicts: sudo
|
||||
Provides: sudo = %evr
|
||||
|
||||
%description
|
||||
run0-sudo-shim attempts to imitate sudo as close as possible, while actually using run0 in the back.
|
||||
@@ -33,3 +35,7 @@ ln -s %_bindir/run0-sudo-shim %buildroot%_bindir/sudo
|
||||
%license LICENSE.dependencies
|
||||
%_bindir/run0-sudo-shim
|
||||
%_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