%global _hardened_build 1 Name: libvarlink Version: 19 Release: 4%{?dist} Summary: Varlink C Library License: ASL 2.0 URL: https://github.com/varlink/%{name} Source0: https://github.com/varlink/%{name}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: meson BuildRequires: gcc # Upstream patch for https://github.com/varlink/libvarlink/issues/22 Patch0001: 0001-Drop-tags-and-ctags-targets.patch %description Varlink C Library %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package util Summary: Varlink command line tools %description util The %{name}-util package contains varlink command line tools. %prep %autosetup %build # The testsuite in this packages uses readelf which does not understand LTO # .o files # Disable LTO %define _lto_cflags %{nil} %meson %meson_build %check export LC_CTYPE=C.utf8 %meson_test %install %meson_install %ldconfig_scriptlets %files %license LICENSE %{_libdir}/libvarlink.so.* %files util %{_bindir}/varlink %{_datadir}/bash-completion/completions/varlink %{_datadir}/vim/vimfiles/after/* %files devel %{_includedir}/varlink.h %{_libdir}/libvarlink.so %{_libdir}/pkgconfig/libvarlink.pc %changelog * Thu Dec 10 2020 Stephen Gallagher - 19-4 - Fix builds when git is present in the buildroot - Fixes https://github.com/varlink/libvarlink/issues/22 * Tue Jul 28 2020 Fedora Release Engineering - 19-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 30 2020 Jeff Law - 19-2 Disable LTO * Fri Mar 06 2020 Harald Hoyer - 19-1 - libvarlink 19 * Wed Jan 29 2020 Fedora Release Engineering - 18-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 18-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed May 22 2019 Harald Hoyer - 18-1 - libvarlink 18 * Fri Feb 15 2019 Harald Hoyer - 17-1 - libvarlink 17 * Fri Feb 01 2019 Fedora Release Engineering - 15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Oct 9 2018 15-1 - libvarlink 15 * Mon Oct 8 2018 14-1 - libvarlink 14 * Mon Jul 16 2018 - 12-1 - libvarlink 12 * Fri Jul 13 2018 Fedora Release Engineering - 11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Jun 17 2018 - libvarlink 11 * Sat May 12 2018 - libvarlink 10 * Fri Apr 13 2018 - libvarlink 9 * Thu Apr 12 2018 - libvarlink 8 * Mon Mar 26 2018 - libvarlink 7 * Mon Mar 26 2018 - libvarlink 6 * Fri Mar 23 2018 - libvarlink 5 * Wed Feb 07 2018 Fedora Release Engineering - 1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Feb 02 2018 Harald Hoyer - 1-2 - bump release * Fri Feb 2 2018 - libvarlink 1