Fix libdir in pkgconfig
This commit is contained in:
parent
0fe41c0821
commit
5af28e8eb6
12
gflags-fix_pkgconfig.patch
Normal file
12
gflags-fix_pkgconfig.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up gflags-2.2.2/cmake/package.pc.in.orig gflags-2.2.2/cmake/package.pc.in
|
||||||
|
--- gflags-2.2.2/cmake/package.pc.in.orig 2018-11-11 22:21:00.000000000 +0100
|
||||||
|
+++ gflags-2.2.2/cmake/package.pc.in 2020-03-09 13:54:40.797884193 +0100
|
||||||
|
@@ -1,7 +1,7 @@
|
||||||
|
prefix=@CMAKE_INSTALL_PREFIX@
|
||||||
|
exec_prefix=${prefix}
|
||||||
|
bindir=${prefix}/@RUNTIME_INSTALL_DIR@
|
||||||
|
-libdir=${prefix}/@LIBRARY_INSTALL_DIR@
|
||||||
|
+libdir=@LIBRARY_INSTALL_DIR@
|
||||||
|
includedir=${prefix}/@INCLUDE_INSTALL_DIR@
|
||||||
|
|
||||||
|
Name: @PACKAGE_NAME@
|
@ -1,11 +1,12 @@
|
|||||||
Name: gflags
|
Name: gflags
|
||||||
Version: 2.2.2
|
Version: 2.2.2
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: Library for commandline flag processing
|
Summary: Library for commandline flag processing
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://gflags.github.io/gflags/
|
URL: https://gflags.github.io/gflags/
|
||||||
Source0: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
Patch0: gflags-fix_pkgconfig.patch
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
|
|
||||||
@ -25,7 +26,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
This package contains development files for %{name}.
|
This package contains development files for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -DBUILD_TESTING:BOOL=ON \
|
%cmake -DBUILD_TESTING:BOOL=ON \
|
||||||
@ -58,6 +59,9 @@ ctest
|
|||||||
%{_libdir}/cmake/%{name}
|
%{_libdir}/cmake/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 09 2020 Nicolas Chauvet <kwizart@gmail.com> - 2.2.2-5
|
||||||
|
- Fix pkgconfig libdir value
|
||||||
|
|
||||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-4
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user