## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 11; 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: clibs-list Version: 0.4.1 # While this is just the major version number, we write it separately as a # reminder to follow the process in the Updates Policy if it changes. %global so_version 0 Release: %autorelease Summary: C doubly linked list implementation # SPDX License: MIT URL: https://github.com/clibs/list Source: %{url}/archive/%{version}/list-%{version}.tar.gz # test: Fix type of User_equal # https://github.com/clibs/list/pull/47 Patch: %{url}/pull/47.patch # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: gcc BuildRequires: make %global common_description %{expand: %{summary}.} %description %{common_description} The clibs-list package contains the clibs/list library. %package devel Summary: Development files for clibs-list Requires: %{name}%{?_isa} = %{version}-%{release} %description devel %{common_description} The clibs-list-devel package contains libraries and header files for developing applications that use clibs-list. %prep %autosetup -p1 -n list-%{version} %build %make_build \ AR="${AR-gcc-ar}" CC="${CC-gcc}" STRIP=/bin/true \ CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ all bin/test %install %make_install PREFIX='%{_prefix}' LIBDIR='%{_libdir}' # We did not want the static library. rm -vf '%{buildroot}%{_libdir}/libclibs_list.a' %check %make_build test %files %license LICENSE %{_libdir}/libclibs_list.so.{%{so_version},%{version}} %files devel %doc History.md %doc Readme.md # This directory should be co-owned with anything else from # https://github.com/clibs/, e.g. https://github.com/clibs/buffer/, if packaged # in the future: %dir %{_includedir}/clibs %{_includedir}/clibs/list.h %{_libdir}/libclibs_list.so %changelog ## START: Generated by rpmautospec * Wed Dec 11 2024 Benjamin A. Beasley - 0.4.1-11 - Add upstream reference for C99 patch * Wed Jul 17 2024 Fedora Release Engineering - 0.4.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jan 24 2024 Fedora Release Engineering - 0.4.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 0.4.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Nov 30 2023 Florian Weimer - 0.4.1-6 - Fix C compatibility issue * Wed Jul 19 2023 Fedora Release Engineering - 0.4.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jun 03 2023 Benjamin A. Beasley - 0.4.1-4 - List installed libraries more concisely * Sat Jun 03 2023 Benjamin A. Beasley - 0.4.1-3 - Remove explicit %%set_build_flags, not needed since F36 * Sat May 06 2023 Benjamin A. Beasley - 0.4.1-1 - Update to 0.4.1 (close RHBZ#2193508) - Shared library naming and symbolic linking has been improved * Thu Jan 19 2023 Fedora Release Engineering - 0.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Dec 19 2022 Benjamin A. Beasley - 0.4.0-2 - Leaf package: remove i686 support * Sat Sep 24 2022 Benjamin A. Beasley - 0.4.0-1 - Update to 0.4.0 * Sat Sep 24 2022 Benjamin A. Beasley - 0.2.0-1 - Initial package (close RHBZ#2123950) ## END: Generated by rpmautospec