Skip to content

Commit

Permalink
🕰️ mommy fixes changelog usage in debs and rpms~
Browse files Browse the repository at this point in the history
  • Loading branch information
FWDekker committed Nov 29, 2023
1 parent e9e3ee8 commit f1944a7
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .fpm
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
--description "mommy's here to support you~"
--url "https://github.com/FWDekker/mommy"
--maintainer "Florine W. Dekker"
--deb-changelog ./CHANGELOG.md
--rpm-changelog ./CHANGELOG.md
--deb-changelog ./pkg/fpm/deb.changelog
--deb-upstream-changelog ./CHANGELOG.md
--rpm-changelog ./pkg/fpm/rpm.changelog
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ build:
@rm -f "$(build_dir)/bin/mommy.bak" "$(build_dir)/man/man1/mommy.1.bak"

@# Compress
@gzip -f "$(build_dir)/man/man1/mommy.1"
@gzip -9nf "$(build_dir)/man/man1/mommy.1"


## Installation
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,8 @@ every merge into `main` automatically build and releases a new version~
* ensure no line breaks are used as whitespace;
github release notes use them as actual line breaks~
* update `pkg/rpkg/mommy.spec.rpkg` if changes were made to copr's rpkg packaging process~
* update `pkg/fpm/deb.changelog` if changes were made to fpm's debian packaging process~
* update `pkg/fpm/rpm.changelog` if changes were made to fpm's rpm packaging process~
* update acknowledgements in `README.md`~
* update promotional images in `.github/img/`~
Expand Down
6 changes: 6 additions & 0 deletions pkg/fpm/deb.changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
mommy (1.2.7-1) stable; urgency=low

* finally added a changelog~
* no package changes compared to previous versions though~

-- Florine W. Dekker Mon, 1 Jan 1970 00:00:00 +0000
5 changes: 5 additions & 0 deletions pkg/fpm/rpm.changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# This changelog is only for packages built using fpm.

* Mon Jan 1 2000 Florine W. Dekker - 1.2.7-1
- finally added a changelog for rpm builds on github~
- no package changes compared to previous versions though~
7 changes: 4 additions & 3 deletions pkg/rpkg/mommy.spec.rpkg
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ rm -rf "%{_tmppath}/shellspec/"
%{_datarootdir}/zsh/site-functions/_mommy

%changelog
# Changelog lists changes to the packaging, not to the software.
* Tue Mar 14 2023 Florine W. Dekker 1.2.3-1
- Initial release with rpkg
# This changelog is only for packages built using rpkg on copr.

* Tue Mar 14 2023 Florine W. Dekker - 1.2.3-1
- initial release with rpkg~

0 comments on commit f1944a7

Please sign in to comment.