File helloworld.spec of Package failed_helloworld

# SPEC_LOCK: DO_NOT_MODIFY_BASELINE
Name: helloworld
Version: 0.1.0
Release: 1
Summary: Minimal portable hello world
License: MIT
URL: https://example.invalid/helloworld
Source0: %{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: libstdc++-devel

%description
Minimal hello world for RISC-V portability validation.

%prep
%setup -q -n %{name}-%{version}

%build
%{__cxx} %{optflags} -std=c++17 -o %{name} main.cpp

%install
mkdir -p %{buildroot}%{_bindir}
install -m 0755 %{name} %{buildroot}%{_bindir}/%{name}

%files
%{_bindir}/%{name}

%changelog
* Tue Nov 04 2025 Fast Path <noreply@example.invalid> - 0.1.0-1
- Canonical spec
openSUSE Build Service is sponsored by