From aade52cc80024b6eb04da1603b62148f3cf4aab4 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 27 Sep 2021 17:22:17 -0400 Subject: [PATCH] Opt in to rpmautospec --- changelog | 24 ++++++++++++++++++++++++ gn.spec | 27 ++------------------------- update-version | 2 +- 3 files changed, 27 insertions(+), 26 deletions(-) create mode 100644 changelog diff --git a/changelog b/changelog new file mode 100644 index 0000000..8ababe5 --- /dev/null +++ b/changelog @@ -0,0 +1,24 @@ +* Mon Mar 29 2021 Benjamin A. Beasley - 1894-4.20210329gitb2e3d862 +- Update to version 1894 + +* Wed Mar 17 2021 Benjamin A. Beasley - 1893-3.20210314git64b3b940 +- Stop installing xemacs plugins + (https://fedoraproject.org/wiki/Changes/Deprecate_xemacs) + +* Wed Mar 17 2021 Benjamin A. Beasley - 1893-2.20210314git64b3b940 +- Improved source URL based on package review feedback + +* Mon Mar 1 2021 Benjamin A. Beasley - 1893-1.20210314git64b3b940 +- Update to version 1893 + +* Mon Mar 1 2021 Benjamin A. Beasley - 1891-1.20210127gitdfcbc6fe +- Update to version 1891 + +* Sun Jan 3 2021 Benjamin A. Beasley - 1884-1.20210127git94bda7cc +- Update to version 1884 + +* Sun Jan 3 2021 Benjamin A. Beasley - 1876-1.20210103git0d67e272 +- Update to version 1876 + +* Sat Dec 19 2020 Benjamin A. Beasley - 1875-1.20201219git4e260f1d +- Initial spec file diff --git a/gn.spec b/gn.spec index 49858f4..af64ca3 100644 --- a/gn.spec +++ b/gn.spec @@ -25,7 +25,7 @@ Name: gn %global access 20210329 %global shortcommit %(echo %{commit} | cut -b -8) Version: 1894 -Release: 4.%{access}git%{shortcommit}%{?dist} +Release: %autorelease -s %{access}git%{shortcommit} -b 4 Summary: Meta-build system that generates build files for Ninja # BSD except for src/base/third_party/icu/, which is (Unicode and MIT); note @@ -192,27 +192,4 @@ grep -E '^#define[[:blank:]]+LAST_COMMIT_POSITION[[:blank:]]+'\ %changelog -* Mon Mar 29 2021 Benjamin A. Beasley - 1894-4.20210329gitb2e3d862 -- Update to version 1894 - -* Wed Mar 17 2021 Benjamin A. Beasley - 1893-3.20210314git64b3b940 -- Stop installing xemacs plugins - (https://fedoraproject.org/wiki/Changes/Deprecate_xemacs) - -* Wed Mar 17 2021 Benjamin A. Beasley - 1893-2.20210314git64b3b940 -- Improved source URL based on package review feedback - -* Mon Mar 1 2021 Benjamin A. Beasley - 1893-1.20210314git64b3b940 -- Update to version 1893 - -* Mon Mar 1 2021 Benjamin A. Beasley - 1891-1.20210127gitdfcbc6fe -- Update to version 1891 - -* Sun Jan 3 2021 Benjamin A. Beasley - 1884-1.20210127git94bda7cc -- Update to version 1884 - -* Sun Jan 3 2021 Benjamin A. Beasley - 1876-1.20210103git0d67e272 -- Update to version 1876 - -* Sat Dec 19 2020 Benjamin A. Beasley - 1875-1.20201219git4e260f1d -- Initial spec file +%autochangelog diff --git a/update-version b/update-version index fa30370..63e96ab 100755 --- a/update-version +++ b/update-version @@ -95,7 +95,7 @@ fedpkg new-sources "$( grep -E '^Source0:' | sed -r 's|.*/||' )" -rpmdev-bumpspec -c 'Update to version 1894' gn.spec +fedpkg commit -m "Update to version ${POSITION}" git add 'last_commit_position.h' gn.spec # vim: tw=78 ts=2 sw=2 sts=2 et ai nojs