commit aba33577dbcc74eaafb29854aff5cc5670f14331
Author: Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur(a)gmail.com>
Date: Mon Apr 25 10:18:10 2022 +0100
regenerate
rpmfusion-nonfree-appstream-data.spec | 5 ++++-
update-appdata-rpmfusion-nonfree.sh | 11 ++++++++---
2 files changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/rpmfusion-nonfree-appstream-data.spec
b/rpmfusion-nonfree-appstream-data.spec
index cd1ec81..97ac288 100644
--- a/rpmfusion-nonfree-appstream-data.spec
+++ b/rpmfusion-nonfree-appstream-data.spec
@@ -3,7 +3,7 @@
Name: %{reponame}-%{repoversion}-appstream-data
Version: 37
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Appstream metadata for the RPM Fusion nonfree repository
BuildArch: noarch
@@ -39,6 +39,9 @@ DESTDIR=%{buildroot} appstream-util install %{SOURCE0} %{SOURCE1}
%dir %{_datadir}/app-info/xmls
%changelog
+* Mon Apr 25 2022 Ankur Sinha <sanjay.ankur(a)gmail.com> - 37-3
+- Regenerate
+
* Mon Apr 25 2022 Ankur Sinha <sanjay.ankur(a)gmail.com> - 37-2
- Regenerate
diff --git a/update-appdata-rpmfusion-nonfree.sh b/update-appdata-rpmfusion-nonfree.sh
index f61fb9e..1c0a87a 100755
--- a/update-appdata-rpmfusion-nonfree.sh
+++ b/update-appdata-rpmfusion-nonfree.sh
@@ -8,11 +8,16 @@ TEMPDIR="rpmfusion-nonfree"
main ()
{
rm -rf "$TEMPDIR"
- mkdir "$TEMPDIR"/ -pv
+ mkdir "$TEMPDIR/" -pv
cd "$TEMPDIR" || exit -1
if [ $RELEASE -le $RAWHIDE ] && [ $RELEASE -ge $((RAWHIDE - 3)) ]; then
-
URL_DEV="rsync://download1.rpmfusion.org/rpmfusion/nonfree/fedora/de...
+ if [ "$RELEASE" == "$RAWHIDE" ]
+ then
+
URL_DEV="rsync://download1.rpmfusion.org/rpmfusion/nonfree/fedora/de...
+ else
+
URL_DEV="rsync://download1.rpmfusion.org/rpmfusion/nonfree/fedora/de...
+ fi
URL_RELEASE="rsync://download1.rpmfusion.org/rpmfusion/nonfree/fedor...
echo "Regenerating for $RELEASE"
@@ -38,7 +43,7 @@ main ()
echo "rfpkg new-sources
${TEMPDIR}/appstream-data/rpmfusion-nonfree-${RELEASE}-icons.tar.gz
${TEMPDIR}/appstream-data/rpmfusion-nonfree-${RELEASE}.xml.gz"
echo "To bump the spec:"
- echo "rpmdev-bumpspec -c "Regenerate"
rpmfusion-nonfree-appstream-data.spec"
+ echo "rpmdev-bumpspec -c 'Regenerate'
rpmfusion-nonfree-appstream-data.spec"
}