drop requirements on cmake, pkgconfig

Instead, own the directories for the files augmenting these packages.

https://fedoraproject.org/wiki/Packaging:Guidelines#The_directory_is_owned_by_a_package_which_is_not_required_for_your_package_to_function
This commit is contained in:
Nils Philippsen 2017-06-27 11:23:18 +02:00
parent 88db6139ef
commit 0632840831

View File

@ -1,6 +1,6 @@
Name: uid_wrapper Name: uid_wrapper
Version: 1.2.1 Version: 1.2.1
Release: 2%{?dist} Release: 3%{?dist}
Summary: A wrapper for privilege separation Summary: A wrapper for privilege separation
License: GPLv3+ License: GPLv3+
@ -11,9 +11,6 @@ Source0: https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz
BuildRequires: cmake BuildRequires: cmake
BuildRequires: libcmocka-devel BuildRequires: libcmocka-devel
Requires: cmake
Requires: pkgconfig
%description %description
Some projects like a file server need privilege separation to be able to switch Some projects like a file server need privilege separation to be able to switch
to the connection user and do file operations. uid_wrapper convincingly lies to the connection user and do file operations. uid_wrapper convincingly lies
@ -60,13 +57,19 @@ popd
%files %files
%doc AUTHORS README ChangeLog COPYING %doc AUTHORS README ChangeLog COPYING
%{_libdir}/libuid_wrapper.so* %{_libdir}/libuid_wrapper.so*
%dir %{_libdir}/cmake
%dir %{_libdir}/cmake/uid_wrapper %dir %{_libdir}/cmake/uid_wrapper
%{_libdir}/cmake/uid_wrapper/uid_wrapper-config-version.cmake %{_libdir}/cmake/uid_wrapper/uid_wrapper-config-version.cmake
%{_libdir}/cmake/uid_wrapper/uid_wrapper-config.cmake %{_libdir}/cmake/uid_wrapper/uid_wrapper-config.cmake
%dir %{_libdir}/pkgconfig
%{_libdir}/pkgconfig/uid_wrapper.pc %{_libdir}/pkgconfig/uid_wrapper.pc
%{_mandir}/man1/uid_wrapper.1* %{_mandir}/man1/uid_wrapper.1*
%changelog %changelog
* Tue Jun 27 2017 Nils Philippsen <nils@redhat.com> - 1.2.1-3
- drop requirements on cmake, pkgconfig and rather own the directories for the
files augmenting these packages
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2 * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild