From 3d0a6326f85da1944e415f4dc0d75d405f5d0ded Mon Sep 17 00:00:00 2001 From: Matti Viljanen Date: Fri, 8 Nov 2024 10:37:30 +0200 Subject: [PATCH] Cleanup spec file - Update package URL - Remove redundant attr's - Keep python3 attr --- rpm/libcap-ng.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/rpm/libcap-ng.spec b/rpm/libcap-ng.spec index c5083fb..609b6cd 100644 --- a/rpm/libcap-ng.spec +++ b/rpm/libcap-ng.spec @@ -25,7 +25,7 @@ Name: libcap-ng Version: 0.8.3 Release: 1 License: LGPLv2+ -URL: http://people.redhat.com/sgrubb/libcap-ng +URL: https://github.com/sailfishos/libcap-ng Source: %{name}-%{version}.tar.bz2 BuildRequires: kernel-headers >= 2.6.11 BuildRequires: libattr-devel @@ -95,21 +95,20 @@ make check %license COPYING.LIB %{_libdir}/libcap-ng.so.* #%%{_libdir}/libdrop_ambient.so.* -%attr(0644,root,root) %{_mandir}/man7/* +%{_mandir}/man7/* %files devel -%attr(0644,root,root) %{_mandir}/man3/* -%attr(0644,root,root) %{_includedir}/cap-ng.h +%{_mandir}/man3/* +%{_includedir}/cap-ng.h %{_libdir}/libcap-ng.so #%%{_libdir}/libdrop_ambient.so -%attr(0644,root,root) %{_datadir}/aclocal/cap-ng.m4 +%{_datadir}/aclocal/cap-ng.m4 %{_libdir}/pkgconfig/libcap-ng.pc %files python3 %attr(755,root,root) %{python3_sitearch}/* -%{python3_sitearch}/capng.py* %files utils %license COPYING -%attr(0755,root,root) %{_bindir}/* -%attr(0644,root,root) %{_mandir}/man8/* +%{_bindir}/* +%{_mandir}/man8/*