## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: openosc Version: 1.0.6 Release: %autorelease Summary: Open Object Size Check Library License: Apache-2.0 %global forgeurl https://github.com/cisco/openosc %forgemeta URL: %{forgeurl} Source0: %{forgesource} BuildRequires: gcc BuildRequires: make %description OpenOSC is an open-source object size check library written in C. It has been developed in order to promote the use of compiler builtin object size check capability for enhanced security. It provides robust support for detecting buffer overflows in various functions that perform operations on memory and strings. Not all types of buffer overflows can be detected with this library, but it does provide an extra level of validation for some functions that are potentially a source of buffer overflow flaws. It protects both C and C++ code. %package devel Summary: The OpenOSC development package Requires: openosc%{?_isa} = %{version}-%{release} %description devel OpenOSC development package, containing both header files and runtime library. %package tools Summary: The OpenOSC tools package %description tools OpenOSC tools package, containing the tools to decode OSC tracebacks and collect OSC metrics. %package static Summary: The OpenOSC static library package Requires: openosc-devel = %{version}-%{release} %description static OpenOSC static package, containing the static library. %prep %autosetup -n OpenOSC-%{version} %build %configure %make_build %install %make_install %files %{_libdir}/lib*.so.0* %files devel %{_libdir}/lib*.so %{_includedir}/*.h %files tools %{_bindir}/oscdecode.py %{_bindir}/oscmetrics.py %files static %{_libdir}/lib*.a %changelog ## START: Generated by rpmautospec * Thu Jul 18 2024 Fedora Release Engineering - 1.0.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Jan 25 2024 Fedora Release Engineering - 1.0.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 1.0.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.0.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.0.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.0.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Nov 25 2018 Yongkui Han 1.0.2-1 - Initial packaging. ## END: Generated by rpmautospec