Blame peripety.spec

05c5ed
Name:           peripety
05c5ed
Version:        0.1.2
a0bf33
Release:        7%{?dist}
05c5ed
Summary:        Storage event notification daemon
05c5ed
License:        MIT
05c5ed
URL:            https://github.com/cathay4t/peripety
05c5ed
Source0:        https://github.com/cathay4t/peripety/archive/v%{version}/%{name}-%{version}.tar.gz
9d147e
# https://github.com/cathay4t/peripety/pull/6
9d147e
Patch0001:      0001-Be-more-specific-about-dependencies.patch
05c5ed
ExclusiveArch:  %{rust_arches}
05c5ed
BuildRequires:  rust-packaging
05c5ed
%{?systemd_requires}
05c5ed
BuildRequires:  systemd systemd-devel
9d147e
# src/peripety/Cargo.toml
9d147e
BuildRequires:  (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0)
9d147e
BuildRequires:  (crate(regex/default) >= 1.0.0 with crate(regex/default) < 2.0.0)
9d147e
BuildRequires:  (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0)
9d147e
BuildRequires:  (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default) < 2.0.0)
9d147e
BuildRequires:  (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0)
9d147e
# src/peripetyd/Cargo.toml
9d147e
BuildRequires:  (crate(chrono/default) >= 0.4.0 with crate(chrono/default) < 0.5.0)
9d147e
BuildRequires:  (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0)
9d147e
BuildRequires:  (crate(nix/default) >= 0.14.0 with crate(nix/default) < 0.15.0)
9d147e
BuildRequires:  (crate(regex/default) >= 1.0.0 with crate(regex/default) < 2.0.0)
9d147e
BuildRequires:  (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0)
9d147e
BuildRequires:  (crate(serde_derive/default) >= 1.0.46 with crate(serde_derive/default) < 2.0.0)
9d147e
BuildRequires:  (crate(toml/default) >= 0.5.0 with crate(toml/default) < 0.6.0)
9d147e
# src/prpt/Cargo.toml
9d147e
BuildRequires:  (crate(chrono/default) >= 0.4.0 with crate(chrono/default) < 0.5.0)
9d147e
BuildRequires:  (crate(clap/default) >= 2.31.2 with crate(clap/default) < 3.0.0)
9d147e
BuildRequires:  (crate(nix/default) >= 0.14.0 with crate(nix/default) < 0.15.0)
9d147e
# src/sdjournal/Cargo.toml
9d147e
BuildRequires:  (crate(libc/default) >= 0.2.30 with crate(libc/default) < 0.3.0)
88c093
05c5ed
%description
05c5ed
Peripety is designed to parse system storage logging into structured storage
05c5ed
event helping user investigate storage issues.
05c5ed
05c5ed
%prep
5b2993
%autosetup -p1
05c5ed
%cargo_prep
05c5ed
05c5ed
%build
05c5ed
%cargo_build
05c5ed
05c5ed
%install
72a264
%make_install
05c5ed
05c5ed
%files
9d147e
%doc README.md
05c5ed
%license LICENSE
05c5ed
%{_bindir}/prpt
05c5ed
%{_bindir}/peripetyd
05c5ed
%{_mandir}/man1/prpt.1*
05c5ed
%config(noreplace) %{_sysconfdir}/peripetyd.conf
05c5ed
%{_unitdir}/peripetyd.service
05c5ed
05c5ed
%post
05c5ed
%systemd_post peripetyd.service
05c5ed
05c5ed
%preun
05c5ed
%systemd_preun peripetyd.service
05c5ed
05c5ed
%postun
05c5ed
%systemd_postun_with_restart peripetyd.service
05c5ed
05c5ed
%changelog
a0bf33
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-7
a0bf33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
a0bf33
9d147e
* Sat Jul 13 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.2-6
9d147e
- Rework spec to be more rusty
9d147e
88c093
* Sat Jul 13 2019 Gris Ge <fge@redhat.com> - 0.1.2-5
88c093
- Fix missing dependency.
88c093
85bfba
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-4
85bfba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
85bfba
5b2993
* Tue Jul 24 2018 Gris Ge <fge@redhat.com> - 0.1.2-3
5b2993
- Fix cargo dependency.
5b2993
08d61a
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-2
08d61a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
08d61a
05c5ed
* Tue Jun 05 2018 Gris Ge <fge@redhat.com> - 0.1.2-1
05c5ed
- Initial release.