Skip to content

Commit

Permalink
Cleanup spec file
Browse files Browse the repository at this point in the history
- Update package URL
- Remove redundant attr's
- Keep python3 attr
  • Loading branch information
direc85 committed Nov 18, 2024
1 parent afd3fad commit 3d0a632
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions rpm/libcap-ng.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/*

0 comments on commit 3d0a632

Please sign in to comment.