Move pkgconfig-dir to proper location

This commit is contained in:
Björn Esser 2018-03-31 12:35:32 +02:00
parent 6d728f1390
commit 5d9e459225

View File

@ -295,6 +295,7 @@ EOF
README.md CHANGES TODO doc/%{name}.p{df,s}
%{__cp} -pr lib/doc/html %{buildroot}%{_pkgdocdir}
# Install replacement tools, if enabled.
%if !%{need_hasher}
%{__rm} -f %{buildroot}%{_bindir}/kcapi-hasher
%endif
@ -313,6 +314,10 @@ EOF
%{__rm} -f %{buildroot}%{_bindir}/sha*hmac
%endif
# Move pkgconfig-dir to proper location.
%{__mkdir_p} %{buildroot}%{_libdir}
%{__mv} -f %{buildroot}/%{_lib}/pkgconfig %{buildroot}%{_libdir}
# We don't ship autocrap dumplings.
%{_bindir}/find %{buildroot} -type f -name '*.la' -print -delete
@ -428,6 +433,7 @@ popd
%changelog
* Sat Mar 31 2018 Björn Esser <besser82@fedoraproject.org> - 1.0.3-10
- Replace single patches with a monolitic one from upstream
- Move pkgconfig-dir to proper location
* Thu Mar 08 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.0.3-9
- Split up the replacements subpackage