Skip to content

Commit

Permalink
make-srpm.spec: use %license instead of %doc for COPYING
Browse files Browse the repository at this point in the history
  • Loading branch information
lzaoral committed Aug 1, 2022
1 parent cf3b19c commit ddae278
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions make-srpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ make version.cc
%ctest3
%files
%doc README
%license COPYING
%{_bindir}/csdiff
%{_bindir}/csgrep
%{_bindir}/cshtml
Expand All @@ -180,18 +182,17 @@ make version.cc
%{_mandir}/man1/cslinker.1*
%{_mandir}/man1/cssort.1*
%{_mandir}/man1/cstrans-df-run.1*
%doc COPYING README
%if %{with python2}
%files -n python2-%{name}
%license COPYING
%{python2_sitearch}/pycsdiff.so
%doc COPYING
%endif
%if %{with python3}
%files -n python3-%{name}
%license COPYING
%{python3_sitearch}/pycsdiff.so
%doc COPYING
%endif
EOF

Expand Down

0 comments on commit ddae278

Please sign in to comment.