diff --git a/.gitignore b/.gitignore index 4207a6f..7db29f4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1 @@ /wtype-v0.3.tar.gz -/wtype-v0.4.tar.gz -/wtype-0.4.tar.gz diff --git a/sources b/sources index dd74eef..2ca74ec 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wtype-0.4.tar.gz) = d3441672418868221448675962979738016a9a5a96c61fd41a1e47d0633c8dea500a39c0834280788271abc6a59731692962b566ee9f6e592f00939088409130 +SHA512 (wtype-v0.3.tar.gz) = dc051a264da0614e697c440068d24dde2a12c039c9b1d8e84b5d419da492792b74a2585a1522276de592866dda79a06249d5e4d665289c66f19b63d49c3dc475 diff --git a/wtype.spec b/wtype.spec index 98f1e1a..9aff015 100644 --- a/wtype.spec +++ b/wtype.spec @@ -1,11 +1,15 @@ Name: wtype -Version: 0.4 -Release: %autorelease +Version: 0.3 +Release: 2%{?dist} Summary: xdotool type for Wayland License: MIT +# NOTE(mhayden): archivename is required here because Fedora looks for the +# source tarball without the `v` from the tag. EPEL packaging expects the `v` +# to be present. Setting it manually allows both to work. %global forgeurl https://github.com/atx/%{name} %global tag v%{version} +%global archivename %{name}-%{tag} %forgemeta URL: %{forgeurl} @@ -20,26 +24,27 @@ BuildRequires: pkgconfig(xkbcommon) %description %{summary} - %prep -%forgeautosetup - +%autosetup %{name}-%{version} %build %meson %meson_build - %install %meson_install - %files %license LICENSE %doc README.md %{_bindir}/wtype %{_mandir}/man1/wtype.1* - %changelog -%autochangelog +* Mon May 24 2021 Major Hayden - 0.3-2 +- Remove extension from archivename. +- Use pkgconfig to find build requirements. +- Remove post/postun scriptlets as they're no longer needed. + +* Mon May 24 2021 Major Hayden - 0.3-1 +- Initial build.