Use %%license, spec cleanups

This commit is contained in:
Peter Robinson 2018-05-10 20:30:04 +01:00
parent 9cb2ddd37b
commit b386c8f3ea

View File

@ -1,11 +1,10 @@
Name: userspace-rcu
Version: 0.10.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: RCU (read-copy-update) implementation in user-space
Group: System Environment/Libraries
License: LGPLv2+
URL: http://liburcu.org
Source0: http://lttng.org/files/urcu/%{name}-%{version}.tar.bz2
Patch0: regtest-without-bench.patch
BuildRequires: pkgconfig
@ -21,12 +20,11 @@ reclamation is possible.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
This package contains libraries and header files for developing applications
that use %{name}
%prep
@ -43,7 +41,7 @@ V=1 make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm -vf $RPM_BUILD_ROOT%{_libdir}/*.la
find %{buildroot} -type f -name "*.la" -delete
%check
@ -55,7 +53,8 @@ make regtest
%files
%doc ChangeLog LICENSE README.md gpl-2.0.txt lgpl-relicensing.txt lgpl-2.1.txt
%license LICENSE gpl-2.0.txt lgpl-relicensing.txt lgpl-2.1.txt
%doc ChangeLog README.md
%{_libdir}/*.so.*
%files devel
@ -70,6 +69,9 @@ make regtest
%changelog
* Thu May 10 2018 Peter Robinson <pbrobinson@fedoraproject.org> 0.10.1-3
- Use %%license, spec cleanups
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild