Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
67d931e9c6 | ||
b8e13e6c1d |
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 12 01:44:58 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Add BuildRequires: python3-setuptools to fix building with
|
||||
python 3.13.
|
||||
- Run fdupes to link duplicate pycache files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 6 10:35:35 UTC 2024 - Jonas Kvinge <jonaski@opensuse.org>
|
||||
|
||||
|
4
ufw.spec
4
ufw.spec
@ -26,9 +26,11 @@ Group: Productivity/Networking/Security
|
||||
URL: https://launchpad.net/ufw
|
||||
Source0: https://launchpad.net/ufw/%{major_ver}/%{version}/+download/%{name}-%{version}.tar.gz
|
||||
BuildRequires: bash-completion
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: iptables
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: systemd-rpm-macros
|
||||
Requires: bash-completion
|
||||
Recommends: %{name}-lang
|
||||
@ -59,6 +61,8 @@ ln -s %{_mandir}/man8/ufw.8.gz %{buildroot}%{_mandir}/man8/rcufw.8.gz
|
||||
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
|
||||
ln -s %{_sbindir}/ufw %{buildroot}/%{_bindir}/ufw
|
||||
|
||||
%fdupes %{buildroot}%{python3_sitelib}/ufw/
|
||||
|
||||
%pre
|
||||
%service_add_pre ufw.service
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user