Files
watchexec/watchexec.spec
Angel Yankov 249d834910 - Update to version 2.3.2:
* cli: change the default for --wrap-process on mac to session
  * Manpage and completions
  * chore(deps): bump softprops/action-gh-release from 2.0.4 to 2.2.2 (#928)
  * remove unused dep lint from CLI due to features
  * doc: add changelog for #908, #929, #930
  * Use distinct `WATCHEXEC_LOG` logging filter env variable (#926)
  * Remove unused dependencies (#930)
  * Remove ignore-files dependency from watchexec (#929)
  * package documentation update (#917)
  * fix(ignore-files) dynamically create ignore entries when calling `add_globs()` and `add_file()` (#908)
  * add install command
  * add test tool readme
  * use the prebuilt man and completions on release
  * deps: update all
  * deps: replace once-cell with std
  * deps: replace is-terminal with std
  * deps: update gix
  * cross doesn't work on arm runners
  * don't use cross for native musl
  * omit internal things from changelog
  * add release-notes script
  * run linux arm builds on arm
  * feat(cli): add --socket option for listenfd integration (#905)
  * tweak(cli): don’t deprecate zero-value unitless time spans
  * style: erase more warnings on windows
  * doc(cli): manually order flags within sections
  * doc(cli): unmark --filter-prog as experimental
  * doc(cli): update completions and manpage
  * test(bosion): update tests and add clap test to ci

OBS-URL: https://build.opensuse.org/package/show/utilities/watchexec?expand=0&rev=26
2025-08-06 11:18:48 +00:00

64 lines
1.8 KiB
RPMSpec

#
# spec file for package watchexec
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: watchexec
Version: 2.3.2
Release: 0
Summary: Watches a path and runs a command whenever it detects modifications.
License: Apache-2.0
Group: Productivity/Other
URL: https://github.com/watchexec/watchexec
Source0: %{name}-%{version}.tar.xz
Source1: vendor.tar.xz
Source2: cargo_config
BuildRequires: cargo-packaging
%description
A simple, standalone tool that watches a path and runs a command
whenever it detects modifications.
%prep
%autosetup -a1
mkdir -p .cargo
cp %{SOURCE2} .cargo/config
%build
%{cargo_build}
%install
# binary
install -Ddm 0755 %{buildroot}%{_bindir}
strip %{_builddir}/%{name}-%{version}/target/release/watchexec
install -m 0755 %{_builddir}/%{name}-%{version}/target/release/watchexec %{buildroot}%{_bindir}/watchexec
# manpages
install -Dd %{buildroot}/%{_mandir}/man1
install -m 0644 doc/watchexec.1 %{buildroot}%{_mandir}/man1/watchexec.1
%check
%{cargo_test}
%files
%license LICENSE
%doc README.md
%doc doc/watchexec.1.md
%{_mandir}/man1/watchexec.1%{?ext_man}
%{_bindir}/watchexec
%changelog