commit baebd13842f44b58f754ba1e0582b8cab6001221
Author: Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur(a)gmail.com>
Date: Mon Feb 28 10:49:01 2022 +0000
feat: update for f37
.gitignore | 2 ++
rpmfusion-free-appstream-data.spec | 5 ++++-
sources | 4 ++--
update-appdata-rpmfusion-free.sh | 17 ++++++++++++-----
4 files changed, 20 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5dafd9c..83a5e00 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,3 +17,5 @@ tags
/rpmfusion-free-34.xml.gz
/rpmfusion-free-36-icons.tar.gz
/rpmfusion-free-36.xml.gz
+/rpmfusion-free-37-icons.tar.gz
+/rpmfusion-free-37.xml.gz
diff --git a/rpmfusion-free-appstream-data.spec b/rpmfusion-free-appstream-data.spec
index 03dab08..79157f1 100644
--- a/rpmfusion-free-appstream-data.spec
+++ b/rpmfusion-free-appstream-data.spec
@@ -2,7 +2,7 @@
%global repoversion free
Name: %{reponame}-%{repoversion}-appstream-data
-Version: 36
+Version: 37
Release: 1%{?dist}
Summary: Appstream metadata for the RPM Fusion free repository
BuildArch: noarch
@@ -40,6 +40,9 @@ DESTDIR=%{buildroot} appstream-util install %{SOURCE0} %{SOURCE1}
%dir %{_datadir}/app-info/xmls
%changelog
+* Mon Feb 28 2022 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 37-1
+- Regenerated for F37
+
* Wed Nov 03 2021 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 36-1
- Regenerated
diff --git a/sources b/sources
index 094bd39..093d1fe 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (rpmfusion-free-36-icons.tar.gz) =
a35f8687ba7c9c2542ecea74201d74bf3a82e84c4bcbadda6cb8dde6e005fac4f667695b209db8a448dcf35648b8224a7b87802d04efdbcace31903c26d735b8
-SHA512 (rpmfusion-free-36.xml.gz) =
39b1b5e701a7b693211d6b4d83a290f1f5e722990d41efa71b99c6c969d6bd8b401f31431cb38632e92b0aafa1110313052c2adc81c49b37e3700d4a10414154
+SHA512 (rpmfusion-free-37-icons.tar.gz) =
c5bddf17a37d46078c4d1b84aea0373dfea5540ac41fa246096ebdbfd55c90d33198e9feaf7b5240667d2b1b83267b2698c8f88fb8718d25e00e7612aac37d6f
+SHA512 (rpmfusion-free-37.xml.gz) =
db6e51d286acd190025778175de855a9828e810ef7de01deec169fa582157dfeb8d72d4d577f44e7e3587a1bb3ea6007994ca4bc92a13fda65b9aacacf85a16e
diff --git a/update-appdata-rpmfusion-free.sh b/update-appdata-rpmfusion-free.sh
index 99dd406..c83a7f5 100755
--- a/update-appdata-rpmfusion-free.sh
+++ b/update-appdata-rpmfusion-free.sh
@@ -8,14 +8,14 @@ main ()
mkdir rpmfusion-free/ -pv
cd rpmfusion-free || exit -1
- if [ "$RELEASE" = "36" ]; then
+ if [ "$RELEASE" = "37" ]; then
URL="rsync://download1.rpmfusion.org/rpmfusion/free/fedora/developme...
- elif [ "$RELEASE" = "35" ]; then
+ elif [ "$RELEASE" = "36" ]; then
URL="rsync://download1.rpmfusion.org/rpmfusion/free/fedora/developme...
- elif [ "$RELEASE" = "34" ]; then
+ elif [ "$RELEASE" = "35" ]; then
URL="rsync://download1.rpmfusion.org/rpmfusion/free/fedora/releases/...
#URL1="rsync://download1.rpmfusion.org/rpmfusion/free/fedora/updates/32/x86_64/*"
- elif [ "$RELEASE" = "33" ]; then
+ elif [ "$RELEASE" = "34" ]; then
URL="rsync://download1.rpmfusion.org/rpmfusion/free/fedora/releases/...
#URL1="rsync://download1.rpmfusion.org/rpmfusion/free/fedora/updates/31/x86_64/*"
@@ -29,7 +29,14 @@ main ()
# createrepo -d Packages/
# repomanage -o --space ./Packages/ | xargs rm
# rm -rf Packages/repo*
+
#
+ if ! command -v appstream-builder > /dev/null
+ then
+ echo "appstream-builder not installed. Installing now."
+ sudo dnf install /usr/bin/appstream-builder
+ fi
+
appstream-builder --verbose --include-failed --max-threads=6 --log-dir=./logs/ \
--packages-dir=./Packages/ --temp-dir=./tmp/ --output-dir=./appstream-data/ \
--basename="rpmfusion-free-$RELEASE"
--origin="rpmfusion-free-$RELEASE" \
@@ -43,7 +50,7 @@ usage ()
echo "$0 -r <release>"
echo "- update appdata for rpmfusion free repository"
echo "options:"
- echo "-r <release> one of 33, 34, 35 and 36"
+ echo "-r <release> one of 34, 35, 36 and 37"
}