Skip to content
This repository has been archived by the owner on Oct 27, 2023. It is now read-only.

Commit

Permalink
Generate rpm changelog entry automatically
Browse files Browse the repository at this point in the history
This change adds a dummy entry that can be updated automatically
to the rpm changelog. The existing changelog is moved to a
changelog.old file.

Signed-off-by: Evan Lezar <[email protected]>
  • Loading branch information
elezar committed Nov 24, 2021
1 parent 7fe65e4 commit 8308065
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 45 deletions.
1 change: 1 addition & 0 deletions docker/Dockerfile.amazonlinux
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ COPY rpm .
CMD arch=$(uname -m) && \
rpmbuild --clean -bb \
-D "_topdir $PWD" \
-D "release_date $(date +'%a %b %d %Y')" \
-D "version $VERSION" \
-D "release $RELEASE" \
-D "toolkit_version $TOOLKIT_VERSION" \
Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile.centos
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ COPY rpm .
CMD arch=$(uname -m) && \
rpmbuild --clean -bb \
-D "_topdir $PWD" \
-D "release_date $(date +'%a %b %d %Y')" \
-D "version $VERSION" \
-D "release $RELEASE" \
-D "toolkit_version $TOOLKIT_VERSION" \
Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile.opensuse-leap
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ COPY rpm .
CMD arch=$(uname -m) && \
rpmbuild --clean -bb \
-D "_topdir $PWD" \
-D "release_date $(date +'%a %b %d %Y')" \
-D "version $VERSION" \
-D "release $RELEASE" \
-D "toolkit_version $TOOLKIT_VERSION" \
Expand Down
48 changes: 3 additions & 45 deletions rpm/SPECS/nvidia-container-runtime.spec
Original file line number Diff line number Diff line change
Expand Up @@ -30,49 +30,7 @@ cp %{SOURCE0} .
%license LICENSE

%changelog
* Wed Nov 17 2021 NVIDIA CORPORATION <[email protected]> 3.6.0-1
- Promote 3.6.0-0.1.rc.3 to 3.6.0-1

* Mon Nov 08 2021 NVIDIA CORPORATION <[email protected]> 3.6.0-0.1.rc.3
- Convert to noarch package

* Thu Nov 04 2021 NVIDIA CORPORATION <[email protected]> 3.6.0-0.1.rc.2
# As of 3.6.0-1 we generate the release information automatically
* %{release_date} NVIDIA CORPORATION <[email protected]> %{version}-%{release}
- As of 3.6.0-1 the package changelog is generated automatically. This means that releases since 3.6.0-1 all contain this same changelog entry updated for the version being released.
- Bump nvidia-container-toolkit dependency to %{toolkit_version}
- Allow the toolkit version to be specified as a variable

* Thu Apr 29 2021 NVIDIA CORPORATION <[email protected]> 3.6.0-0.1.rc.1
- Add AARCH64 package for Amazon Linux 2
- [BUILD] Allow tag to be specified instead of revision
- Convert to meta package that depends on nvidia-container-toolkit
- Remove libseccomp2 dependency

* Thu Apr 29 2021 NVIDIA CORPORATION <[email protected]> 3.5.0-1
- Add dependence on nvidia-container-toolkit >= 1.5.0
- Refactor the whole project for easier extensibility in the future
- Move main to cmd/nvidia-container-runtime to make it go-installable
- Switch to logrus for logging and refactor how logging is done
- Update to Golang 1.16.3
- Improvements to build and CI system
- Reorganize the code structure and format it correctly

* Fri Feb 05 2021 NVIDIA CORPORATION <[email protected]> 3.4.2-1
- Add dependence on nvidia-container-toolkit >= 1.4.2

* Mon Jan 25 2021 NVIDIA CORPORATION <[email protected]> 3.4.1-1
- Update README to list 'compute' as part of the default capabilities
- Switch to gomod for vendoring
- Update to Go 1.15.6 for builds
- Add dependence on nvidia-container-toolkit >= 1.4.1

* Wed Sep 16 2020 NVIDIA CORPORATION <[email protected]> 3.4.0-1
- Bump version to v3.4.0
- Add dependence on nvidia-container-toolkit >= 1.3.0

* Wed Jul 08 2020 NVIDIA CORPORATION <[email protected]> 3.3.0-1
- e550cb15 Update package license to match source license
- f02eef53 Update project License
- c0fe8aae Update dependence on nvidia-container-toolkit to 1.2.0

* Fri May 15 2020 NVIDIA CORPORATION <[email protected]> 3.2.0-1
- e486a70e Update build system to support multi-arch builds
- 854f4c48 Require new MIG changes
46 changes: 46 additions & 0 deletions rpm/changelog.old
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
* Wed Nov 17 2021 NVIDIA CORPORATION <[email protected]> 3.6.0-1
- Promote 3.6.0-0.1.rc.3 to 3.6.0-1

* Mon Nov 08 2021 NVIDIA CORPORATION <[email protected]> 3.6.0-0.1.rc.3
- Convert to noarch package

* Thu Nov 04 2021 NVIDIA CORPORATION <[email protected]> 3.6.0-0.1.rc.2
- Bump nvidia-container-toolkit dependency to %{toolkit_version}
- Allow the toolkit version to be specified as a variable

* Thu Apr 29 2021 NVIDIA CORPORATION <[email protected]> 3.6.0-0.1.rc.1
- Add AARCH64 package for Amazon Linux 2
- [BUILD] Allow tag to be specified instead of revision
- Convert to meta package that depends on nvidia-container-toolkit
- Remove libseccomp2 dependency

* Thu Apr 29 2021 NVIDIA CORPORATION <[email protected]> 3.5.0-1
- Add dependence on nvidia-container-toolkit >= 1.5.0
- Refactor the whole project for easier extensibility in the future
- Move main to cmd/nvidia-container-runtime to make it go-installable
- Switch to logrus for logging and refactor how logging is done
- Update to Golang 1.16.3
- Improvements to build and CI system
- Reorganize the code structure and format it correctly

* Fri Feb 05 2021 NVIDIA CORPORATION <[email protected]> 3.4.2-1
- Add dependence on nvidia-container-toolkit >= 1.4.2

* Mon Jan 25 2021 NVIDIA CORPORATION <[email protected]> 3.4.1-1
- Update README to list 'compute' as part of the default capabilities
- Switch to gomod for vendoring
- Update to Go 1.15.6 for builds
- Add dependence on nvidia-container-toolkit >= 1.4.1

* Wed Sep 16 2020 NVIDIA CORPORATION <[email protected]> 3.4.0-1
- Bump version to v3.4.0
- Add dependence on nvidia-container-toolkit >= 1.3.0

* Wed Jul 08 2020 NVIDIA CORPORATION <[email protected]> 3.3.0-1
- e550cb15 Update package license to match source license
- f02eef53 Update project License
- c0fe8aae Update dependence on nvidia-container-toolkit to 1.2.0

* Fri May 15 2020 NVIDIA CORPORATION <[email protected]> 3.2.0-1
- e486a70e Update build system to support multi-arch builds
- 854f4c48 Require new MIG changes

0 comments on commit 8308065

Please sign in to comment.