Skip to content

Commit

Permalink
Install LICENSE file (and restore LICENSE install in rpm spec)
Browse files Browse the repository at this point in the history
  • Loading branch information
edenhill committed Mar 31, 2020
1 parent 9fca304 commit e62aece
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
librdkafka - Apache Kafka C driver library

Copyright (c) 2012-2018, Magnus Edenhill
Copyright (c) 2012-2020, Magnus Edenhill
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion LICENSES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ LICENSE
--------------------------------------------------------------
librdkafka - Apache Kafka C driver library

Copyright (c) 2012-2018, Magnus Edenhill
Copyright (c) 2012-2020, Magnus Edenhill
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ CHECK_FILES+= CONFIGURATION.md \
examples/rdkafka_example examples/rdkafka_performance \
examples/rdkafka_example_cpp

DOC_FILES+= LICENSES.txt INTRODUCTION.md README.md CONFIGURATION.md STATISTICS.md
DOC_FILES+= LICENSE LICENSES.txt INTRODUCTION.md README.md \
CONFIGURATION.md STATISTICS.md

PKGNAME?= librdkafka
VERSION?= $(shell python packaging/get_version.py src/rdkafka.h)
Expand Down
1 change: 1 addition & 0 deletions packaging/rpm/librdkafka.spec
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ rm -rf %{buildroot}
%{_libdir}/librdkafka++.so.%{soname}
%defattr(-,root,root)
%doc %{_docdir}/librdkafka/README.md
%doc %{_docdir}/librdkafka/LICENSE
%doc %{_docdir}/librdkafka/CONFIGURATION.md
%doc %{_docdir}/librdkafka/INTRODUCTION.md
%doc %{_docdir}/librdkafka/STATISTICS.md
Expand Down

0 comments on commit e62aece

Please sign in to comment.