public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Milan Crha <mcrha@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/malcontent] rawhide: Switch to gnome-srpm-macros macros
Date: Tue, 30 Jun 2026 13:07:27 GMT [thread overview]
Message-ID: <178282484700.1.10757119342640638849.rpms-malcontent-988594a673e0@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/malcontent
Branch : rawhide
Commit : 988594a673e0e3c476d00d20b41c76317dd7e8c3
Author : Milan Crha <mcrha@redhat.com>
Date : 2026-06-30T14:56:40+02:00
Stats : +4/-7 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/malcontent/c/988594a673e0e3c476d00d20b41c76317dd7e8c3?branch=rawhide
Log:
Switch to gnome-srpm-macros macros
[skip changelog]
---
diff --git a/malcontent.spec b/malcontent.spec
index ae4866d..be195ab 100644
--- a/malcontent.spec
+++ b/malcontent.spec
@@ -1,5 +1,3 @@
-%global tarball_version %%(echo %%{version} | tr '~' '.')
-
Name: malcontent
Version: 0.14.0
Release: %autorelease
@@ -7,11 +5,13 @@ Summary: Parental controls implementation
License: LGPL-2.1-only AND CC-BY-3.0
URL: https://gitlab.freedesktop.org/pwithnall/%{name}/
-Source0: https://tecnocode.co.uk/downloads/%{name}/%{name}-%{tarball_version}.tar.xz
+Source0: https://tecnocode.co.uk/downloads/%{name}/%{name}-%{gnome_tarball_version}.tar.xz
Source1: https://gitlab.gnome.org/pwithnall/libgsystemservice/-/archive/0.3.0/libgsystemservice-0.3.0.tar.bz2
Source2: gvdb.tar.xz
Source3: http://www.corpit.ru/mjt/tinycdb/tinycdb-0.81.tar.gz
+%gnome_check_version
+
BuildRequires: gettext
BuildRequires: gi-docgen
BuildRequires: meson
@@ -108,10 +108,7 @@ This package documentation for libmalcontent.
%prep
-# check for human errors
-if [ `echo "%{version}" | grep -cE "\.alpha|\.beta|\.rc"` = "1" ]; then echo "Error: Use tilde in Version field in front of alpha/beta/rc; checked '%{version}'" 1>&2; exit 1; fi
-
-%autosetup -p1 -n %{name}-%{tarball_version} -S git
+%autosetup -p1 -n %{name}-%{gnome_tarball_version} -S git
tar -xf %{SOURCE1} -C subprojects
mv subprojects/libgsystemservice-0.3.0 subprojects/libgsystemservice
tar -xf %{SOURCE2} -C subprojects
reply other threads:[~2026-06-30 13:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178282484700.1.10757119342640638849.rpms-malcontent-988594a673e0@fedoraproject.org \
--to=mcrha@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox