From afd56c1fd3d0642d38027bd77c8927191af9bc85cd84b18d87dda823729c7e06 Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Thu, 27 May 2021 14:57:59 +0000 Subject: [PATCH] Accepting request 895689 from home:jengelh:branches:X11:windowmanagers - Update old RPM macros/constructs. OBS-URL: https://build.opensuse.org/request/show/895689 OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/awesome-vicious?expand=0&rev=12 --- awesome-vicious.changes | 5 +++++ awesome-vicious.spec | 17 ++++++++--------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/awesome-vicious.changes b/awesome-vicious.changes index eaf7d08..c197f98 100644 --- a/awesome-vicious.changes +++ b/awesome-vicious.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 27 08:22:00 UTC 2021 - Jan Engelhardt + +- Update old RPM macros/constructs. + ------------------------------------------------------------------- Wed May 26 00:17:57 UTC 2021 - Ferdinand Thiessen diff --git a/awesome-vicious.spec b/awesome-vicious.spec index 679aa31..9151b8b 100644 --- a/awesome-vicious.spec +++ b/awesome-vicious.spec @@ -52,20 +52,19 @@ are used instead, where available: - wireless_tools for the Wireless widget type - curl for widget types accessing network resources - %prep -%setup -q -n %{packname}-%{version} +%autosetup -n %{packname}-%{version} %build %install -%{__install} -d %{buildroot}/%{_datadir}/awesome/lib/vicious/contrib -%{__install} -d %{buildroot}/%{_datadir}/awesome/lib/vicious/widgets -%{__install} -m 644 -D contrib/* %{buildroot}/%{_datadir}/awesome/lib/vicious/contrib -%{__install} -m 644 -D widgets/* %{buildroot}/%{_datadir}/awesome/lib/vicious/widgets -%{__install} -m 644 -D init.lua %{buildroot}/%{_datadir}/awesome/lib/vicious -%{__install} -m 644 -D helpers.lua %{buildroot}/%{_datadir}/awesome/lib/vicious -%{__install} -m 644 -D spawn.lua %{buildroot}/%{_datadir}/awesome/lib/vicious +install -d %{buildroot}/%{_datadir}/awesome/lib/vicious/contrib +install -d %{buildroot}/%{_datadir}/awesome/lib/vicious/widgets +install -Dm 644 contrib/* %{buildroot}/%{_datadir}/awesome/lib/vicious/contrib +install -Dm 644 widgets/* %{buildroot}/%{_datadir}/awesome/lib/vicious/widgets +install -Dm 644 init.lua %{buildroot}/%{_datadir}/awesome/lib/vicious +install -Dm 644 helpers.lua %{buildroot}/%{_datadir}/awesome/lib/vicious +install -Dm 644 spawn.lua %{buildroot}/%{_datadir}/awesome/lib/vicious %files %doc README.md CHANGELOG.rst TODO