File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1+ srpm :
2+ dnf -y install git rpkg rpm-build dnf-plugins-core
3+ # Set the name to "...-git"
4+ echo ' %git_suffix -git' > ~ /.rpmmacros
5+ rpkg srpm --outdir=$(outdir ) --spec=$(spec )
Original file line number Diff line number Diff line change 11# vim: syntax=spec
22%global alt_pkg_name swaync
33
4- Name: {{{ git_dir_name }}}
4+ Name: {{{ git_repo_name }}}%{? git_suffix }
55Version: 0.10.1
66Release: 1%{?dist }
77Summary: Notification daemon with GTK GUI
@@ -10,8 +10,8 @@ Provides: sway-notification-center = %{version}-%{release}
1010Provides: %{alt_pkg_name } = %{version }-%{release }
1111License: GPLv3
1212URL: https://github.com/ErikReider/SwayNotificationCenter
13- VCS: {{{ git_dir_vcs }}}
14- Source: {{{ git_dir_pack }}}
13+ VCS: {{{ git_repo_vcs }}}
14+ Source: {{{ git_repo_pack }}}
1515
1616BuildRequires: meson >= 0.51.0
1717BuildRequires: vala >= 0.56
@@ -74,7 +74,7 @@ Requires: %{name} = %{version}-%{release}
7474This package installs Fish completion files for %{name }
7575
7676%prep
77- {{{ git_dir_setup_macro }}}
77+ {{{ git_repo_setup_macro }}}
7878
7979%build
8080%meson
@@ -118,4 +118,4 @@ This package installs Fish completion files for %{name}
118118
119119# Changelog will be empty until you make first annotated Git tag.
120120%changelog
121- {{{ git_dir_changelog }}}
121+ {{{ git_repo_changelog }}}
You can’t perform that action at this time.
0 commit comments