Fix pkgconfig file on 64-bit systems (bz 2014748).
This commit is contained in:
parent
d1f8599817
commit
f495935ca3
13
check.spec
13
check.spec
@ -1,6 +1,6 @@
|
|||||||
Name: check
|
Name: check
|
||||||
Version: 0.15.2
|
Version: 0.15.2
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: A unit test framework for C
|
Summary: A unit test framework for C
|
||||||
Source0: https://github.com/libcheck/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/libcheck/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -68,6 +68,9 @@ find . -name .cvsignore -delete
|
|||||||
# Regenerate configure due to patch 0
|
# Regenerate configure due to patch 0
|
||||||
autoreconf -ivf
|
autoreconf -ivf
|
||||||
|
|
||||||
|
# Fix libdir for the cmake build
|
||||||
|
sed -i 's,set(libdir .*),set(libdir "%{_libdir}"),' CMakeLists.txt
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# The autotools build does not create the cmake files.
|
# The autotools build does not create the cmake files.
|
||||||
# The cmake build does not create the info or aclocal files.
|
# The cmake build does not create the info or aclocal files.
|
||||||
@ -100,6 +103,9 @@ cd -
|
|||||||
|
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
|
||||||
|
# The library does not really depend on -pthread
|
||||||
|
sed -i 's/ -pthread//' %{buildroot}%{_libdir}/pkgconfig/check.pc
|
||||||
|
|
||||||
%check
|
%check
|
||||||
cd autotools_build
|
cd autotools_build
|
||||||
export LD_LIBRARY_PATH=$PWD/src/.libs
|
export LD_LIBRARY_PATH=$PWD/src/.libs
|
||||||
@ -142,11 +148,14 @@ cd -
|
|||||||
%{_mandir}/man1/checkmk.1*
|
%{_mandir}/man1/checkmk.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Oct 16 2021 Jerry James <loganjerry@gmail.com> - 0.15.2-5
|
||||||
|
- Fix pkgconfig file on 64-bit systems (bz 2014748)
|
||||||
|
|
||||||
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.2-4
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.2-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
* Mon Mar 01 2021 Tomas Popela <tpopela@redhat.com> - 0.15.2-3
|
* Mon Mar 01 2021 Tomas Popela <tpopela@redhat.com> - 0.15.2-3
|
||||||
- Don't build with subinit support in RHEL
|
- Don't build with subunit support in RHEL
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.2-2
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.2-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user