Skip to content

Commit ddae278

Browse files
committed
make-srpm.spec: use %license instead of %doc for COPYING
1 parent cf3b19c commit ddae278

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

make-srpm.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ make version.cc
167167
%ctest3
168168
169169
%files
170+
%doc README
171+
%license COPYING
170172
%{_bindir}/csdiff
171173
%{_bindir}/csgrep
172174
%{_bindir}/cshtml
@@ -180,18 +182,17 @@ make version.cc
180182
%{_mandir}/man1/cslinker.1*
181183
%{_mandir}/man1/cssort.1*
182184
%{_mandir}/man1/cstrans-df-run.1*
183-
%doc COPYING README
184185
185186
%if %{with python2}
186187
%files -n python2-%{name}
188+
%license COPYING
187189
%{python2_sitearch}/pycsdiff.so
188-
%doc COPYING
189190
%endif
190191
191192
%if %{with python3}
192193
%files -n python3-%{name}
194+
%license COPYING
193195
%{python3_sitearch}/pycsdiff.so
194-
%doc COPYING
195196
%endif
196197
EOF
197198

0 commit comments

Comments
 (0)