From b58cd81b0dbda4aa2d23e2e561184c5f1eba702f Mon Sep 17 00:00:00 2001 From: Carl George Date: Thu, 28 Mar 2019 14:24:56 -0500 Subject: [PATCH] Remove pointless -n flag to %package, %description, and %files A word argument for these automatically gets converted to %{name}-word. --- brotli.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/brotli.spec b/brotli.spec index 6b48894..97dd0c2 100644 --- a/brotli.spec +++ b/brotli.spec @@ -30,11 +30,11 @@ It is similar in speed with deflate but offers more dense compression. This package installs a Python 3 module. -%package -n %{name}-devel +%package devel Summary: Lossless compression algorithm (development files) Requires: %{name}%{?_isa} = %{version}-%{release} -%description -n %{name}-devel +%description devel Brotli is a generic-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling, with a compression ratio comparable @@ -94,7 +94,7 @@ cd .. %{python3_sitearch}/* %license LICENSE -%files -n %{name}-devel +%files devel %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*