I have cloned a repo under the Apache 2.0 licence and am changing content.
under section 4 of the licence:
a. You must cause any modified files to carry prominent notices stating that You changed the files; and
b. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works
d. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
If I am understanding this correctly, my modified file will look like this?
# -*- coding: utf-8 -*-
"""
Copyright 2017 My Example Company
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
NOTICE: THIS FILE HAS BEEN MODIFIED BY <MY EXAMPLE COMPANY> UNDER COMPLIANCE WITH THE APACHE 2.0 LICENCE FROM THE ORIGINAL WORK
OF THE COMPANY <EXAMPLE PREVIOUS COMPANY>. THE FOLLOWING IS THE COPYRIGHT OF THE ORIGINAL DOCUMENT:
Copyright 2016 Example Previous Company
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
"""