Spec file cleanup

This commit is contained in:
Robert Scheck 2021-01-18 01:53:29 +00:00 committed by jrybar
parent a413abddcc
commit 99ee77c426

View File

@ -8,7 +8,7 @@ Release: 3%{?dist}
License: GPL+ and GPLv2 and GPLv2+ and GPLv3+ and LGPLv2+
URL: https://sourceforge.net/projects/procps-ng/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
Source0: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
# README files are missing in latest tarball
# wget https://gitlab.com/procps-ng/procps/raw/e0784ddaed30d095bb1d9a8ad6b5a23d10a212c4/README.md
Source1: README.md
@ -135,7 +135,6 @@ ln -s %{_bindir}/pidof %{buildroot}%{_sbindir}/pidof
%files
%doc AUTHORS Documentation/bugs.md Documentation/FAQ NEWS README.md top/README.top Documentation/TODO
%{!?_licensedir:%global license %%doc}
%license COPYING COPYING.LIB
%{_libdir}/libprocps.so.*
%{_bindir}/*
@ -149,7 +148,6 @@ ln -s %{_bindir}/pidof %{buildroot}%{_sbindir}/pidof
%exclude /unwanted/*
%files devel
%{!?_licensedir:%global license %%doc}
%license COPYING COPYING.LIB
%{_libdir}/libprocps.so
%{_libdir}/pkgconfig/libprocps.pc