diff --git a/_service b/_service
new file mode 100644
index 0000000..1c46dad
--- /dev/null
+++ b/_service
@@ -0,0 +1,17 @@
+
+
+ git
+ https://github.com/Alexays/Waybar.git
+ 0.9.16
+ @PARENT_TAG@
+ (.*)
+ enable
+ waybar
+
+
+
+ *.tar
+ gz
+
+
+
diff --git a/_servicedata b/_servicedata
new file mode 100644
index 0000000..ca22057
--- /dev/null
+++ b/_servicedata
@@ -0,0 +1,4 @@
+
+
+ https://github.com/Alexays/Waybar.git
+ 9eb6c4e296d5736565c0434514b709d2bbb3bebe
\ No newline at end of file
diff --git a/waybar-0.9.16.obscpio b/waybar-0.9.16.obscpio
new file mode 100644
index 0000000..f679c01
--- /dev/null
+++ b/waybar-0.9.16.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5e62ce31638c135c779173b2e448dd390296c1ce03da6772360be179ba5d9e2b
+size 845836
diff --git a/waybar-0.9.16.tar.gz b/waybar-0.9.16.tar.gz
deleted file mode 100644
index 81ed83a..0000000
--- a/waybar-0.9.16.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:cc1608ebd7ecc194f121a704155ceda6e5f3c50173ebc7125bba45203c62c23a
-size 23685120
diff --git a/waybar.changes b/waybar.changes
index f6a8f25..c1ad22c 100644
--- a/waybar.changes
+++ b/waybar.changes
@@ -1,3 +1,11 @@
+-------------------------------------------------------------------
+Mon Dec 5 19:10:20 UTC 2022 - Filippo Bonazzi
+
+- Fix: do not require versioned branding (bsc#1205950)
+- Add dependency to hhdate library now in Factory
+- Add _service file back now that we don't need to modify the source tarball
+- Move to obscpio archive to save space
+
-------------------------------------------------------------------
Fri Dec 2 13:52:41 UTC 2022 - Soc Virnyl Estela
diff --git a/waybar.obsinfo b/waybar.obsinfo
new file mode 100644
index 0000000..f5024b7
--- /dev/null
+++ b/waybar.obsinfo
@@ -0,0 +1,4 @@
+name: waybar
+version: 0.9.16
+mtime: 1669318452
+commit: 9eb6c4e296d5736565c0434514b709d2bbb3bebe
diff --git a/waybar.spec b/waybar.spec
index 11f5ba2..e96a995 100644
--- a/waybar.spec
+++ b/waybar.spec
@@ -25,9 +25,6 @@ Group: System/GUI/Other
URL: https://github.com/Alexays/Waybar
Source0: %{name}-%{version}.tar.gz
Patch0: 0000-replace-gethostbyname-getaddrinfo.patch
-# use this to download tarball. then use `meson subprojects download`
-# to get the `date` dependency. and create own tarball
-# Source1: https://github.com/Alexays/Waybar/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: cmake
%if 0%{?sle_version} >= 150400
BuildRequires: gcc11-c++
@@ -41,6 +38,8 @@ BuildRequires: pkgconfig
# test dependency
BuildRequires: pkgconfig(catch2) >= 3.0
BuildRequires: sndio-devel >= 1.7.0
+# date module
+BuildRequires: hhdate-devel
# optional: man pages
BuildRequires: scdoc
# optional: tray module
@@ -70,7 +69,8 @@ BuildRequires: pkgconfig(wayland-protocols)
BuildRequires: pkgconfig(wireplumber-0.4)
BuildRequires: pkgconfig(xkbregistry)
# requires branding
-Requires: %{name}-branding = %{version}
+# NOTE: unversioned branding is required to avoid issues like bsc#1205950
+Requires: %{name}-branding
# optional: sway integration
Recommends: sway
@@ -94,7 +94,7 @@ BuildArch: noarch
This package provides the upstream look and feel for sway.
%prep
-%autosetup -p1 -n Waybar-%{version}
+%autosetup -p1 -n waybar-%{version}
%build
%if 0%{?sle_version} >= 150400