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