%global debug_package %{nil} Name: bstring Version: 1.0.3 Release: 1%{?dist} Summary: provides a string abstraction data type for the C language as a memory safe alternative to null terminated buffers Group: Applications/System License: BSD-3-Clause license URL: https://mike.steinert.ca/bstring/ Source0: https://github.com/msteinert/bstring/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: make BuildRequires: autoconf BuildRequires: libtool BuildRequires: check-devel BuildRequires: valgrind %description The bstring library provides a string abstraction data type for the C language as a memory safe alternative to null terminated buffers. This is a fork of Paul Hsieh's Better String Library. Compared to the original, the following features (or mis-features, depending on your point of view) are included: Build system (Autotools and Meson) Updated test suite based on Check Add Valgrind to the workflow Add continuous integration via GitHub CI Remove C++ wrapper code, returning this to a pure C library Other various improvements Currently this fork should be binary-compatible with the original code. The only source incompatibility is the removal of the const_bstring type. Just use const bstring instead. %package devel Summary: This package contains header files necessary for developing programs Requires: bstring %description devel %{description} %prep %setup -q -n bstring-%{version} %build autoreconf -i %configure %make_build %install %make_install %check make check make memcheck %files %doc COPYING README.md SECURITY.md %{_libdir}/libbstring.so* %files devel %{_includedir}/bstring %{_libdir}/libbstring.a %{_libdir}/pkgconfig/bstring.pc %changelog * Wed Jan 14 2026 Greg Wildman - 1.0.3-1 - Initial spec.