File ubridge.spec of Package failed_ubridge

Name:           ubridge
Version:        0.9.19
Release:        1.1
Summary:        User-space ethernet bridge helper (ubridge)

License:        BSD
URL:            https://example.org/ubridge
Source0:        %{name}-%{version}.tar.gz

BuildRequires:  gcc
BuildRequires:  make
BuildRequires:  pkgconfig

%description
ubridge is a small helper to provide user-space bridging for
network namespaces and containers.

%prep
%setup -q

# Do NOT remove bundled iniparser sources.
# The original packaging removed src/iniparser which breaks builds
# when a system iniparser development package is not available.
# rm -rf src/iniparser

%build
# Build using the bundled iniparser (if present) to avoid dependency on
# a system iniparser development package in minimal build environments.
# Do not force SYSTEM_INIPARSER=1 here.
make -j%{?_smp_mflags:-4} V=1 VERBOSE=1

%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install

%files
%doc README LICENSE
/usr/bin/ubridge

%changelog
* Tue Aug 12 2025 Packager <packager@example.org> - 0.9.19-1.1
- Use bundled iniparser when available; do not force SYSTEM_INIPARSER=1
openSUSE Build Service is sponsored by