From af811b5217b5a53a22e08a2884777c8a0579bb74 Mon Sep 17 00:00:00 2001 From: olf Date: Wed, 22 Mar 2023 20:56:00 +0100 Subject: [PATCH 1/3] Set sources compression to default value, too --- rpm/crypto-sdcard.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpm/crypto-sdcard.spec b/rpm/crypto-sdcard.spec index cac4865..bfef1b9 100644 --- a/rpm/crypto-sdcard.spec +++ b/rpm/crypto-sdcard.spec @@ -81,7 +81,7 @@ Url: %endif %define _binary_payload w6.gzdio -%define _source_payload w2.gzdio +%define _source_payload w6.gzdio %prep %setup -q From 9f477cfcdbc467c6a8c04d6929b2bfb677787e5f Mon Sep 17 00:00:00 2001 From: olf Date: Wed, 22 Mar 2023 22:34:13 +0100 Subject: [PATCH 2/3] Add placeholder for `rpmlintrc` file --- rpm/crypto-sdcard.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/rpm/crypto-sdcard.spec b/rpm/crypto-sdcard.spec index bfef1b9..615e608 100644 --- a/rpm/crypto-sdcard.spec +++ b/rpm/crypto-sdcard.spec @@ -33,6 +33,7 @@ URL: https://github.com/Olf0/%{name} # Download URLs for gzipped tarballs at GitHub must conform to: # %%{url}/archive//.tar.gz Source0: %{url}/archive/%{release}/%{version}/%{name}-%{version}.tar.gz +#Source99: %{name}.rpmlintrc # rpmbuild (as of v4.14.1) handles the Icon tag awkwardly and in contrast to # the Source tag(s): It only accepts a GIF or XPM file (a path is stripped to # its basename) in the SOURCES directory (but not inside a tarball there)! From 7bffdf856d781d62ff4eef0dc8dd392d734aebbc Mon Sep 17 00:00:00 2001 From: olf Date: Thu, 23 Mar 2023 02:02:15 +0100 Subject: [PATCH 3/3] Add link to https://semver.org/ --- rpm/crypto-sdcard.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rpm/crypto-sdcard.spec b/rpm/crypto-sdcard.spec index 615e608..c8f0eef 100644 --- a/rpm/crypto-sdcard.spec +++ b/rpm/crypto-sdcard.spec @@ -1,9 +1,10 @@ %global branch sfosABC Name: crypto-sdcard Summary: Configuration files for automatic unlocking and mounting encrypted media +# The version adheres to semantic versioning v2.0.0, see https://semver.org/ Version: 1.7.3 -# Since v1.7.3, the release version consists of two or three fields, separated -# by dots ("."): +# Since version 1.7.3, the release version consists of two or three fields, +# separated by dots ("."): # - The first field must contain a natural number greater than zero. This number # should be prefixed by one of {alpha,beta,rc,release}, which results in, e.g., # "alpha42".