diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 89b1ccc..0000000 --- a/.gitignore +++ /dev/null @@ -1,10 +0,0 @@ -/stratisd-0.1.4.tar.gz -/stratisd-0.1.5.tar.gz -/stratisd-0.5.0.tar.gz -/stratisd-0.5.1.tar.gz -/stratisd-0.5.2.tar.gz -/stratisd-0.5.3.tar.gz -/stratisd-0.5.4.tar.gz -/stratisd-0.5.5.tar.gz -/stratisd-0.9.0.tar.gz -/stratisd-1.0.0.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0fada5c..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# stratisd - -The stratisd package \ No newline at end of file diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..8f9c9a9 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +stratisd is built only as a module diff --git a/sources b/sources deleted file mode 100644 index b4bd0c9..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (stratisd-1.0.0.tar.gz) = b1f70a3476da283199b6689f3dc0b295662155c56bc3cf853e7a977a533cf7100118a5daafe303918ced9c592d069c21c6a0048c2216ce3a5dc42fe4febaeaa0 diff --git a/stratisd.spec b/stratisd.spec deleted file mode 100644 index d8623db..0000000 --- a/stratisd.spec +++ /dev/null @@ -1,181 +0,0 @@ -# Generated by rust2rpm -%bcond_without check - -# Not interested in packaging lib -# stratisd is supposed to be daemon used through dbus -%global __cargo_is_lib() false - -Name: stratisd -Version: 1.0.0 -Release: 1%{?dist} -Summary: Daemon that manages block devices to create filesystems - -License: MPLv2.0 -URL: https://github.com/stratis-storage/stratisd -Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz - -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging -# [dependencies] -BuildRequires: (crate(byteorder) >= 1.0.0 with crate(byteorder) < 2.0.0) -BuildRequires: (crate(chrono) >= 0.4.0 with crate(chrono) < 0.5.0) -BuildRequires: (crate(clap) >= 2.0.0 with crate(clap) < 3.0.0) -BuildRequires: (crate(crc) >= 1.0.0 with crate(crc) < 2.0.0) -BuildRequires: (crate(dbus) >= 0.6.1 with crate(dbus) < 0.7.0) -BuildRequires: (crate(devicemapper) >= 0.26.0 with crate(devicemapper) < 0.27.0) -BuildRequires: (crate(env_logger) >= 0.5.0 with crate(env_logger) < 0.6.0) -BuildRequires: (crate(error-chain) >= 0.12.0 with crate(error-chain) < 0.13.0) -BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0) -BuildRequires: (crate(libc) >= 0.2.36 with crate(libc) < 0.3.0) -BuildRequires: (crate(libmount) >= 0.1.10 with crate(libmount) < 0.2.0) -BuildRequires: (crate(libudev) >= 0.2.0 with crate(libudev) < 0.3.0) -BuildRequires: (crate(log) >= 0.4.0 with crate(log) < 0.5.0) -BuildRequires: (crate(macro-attr) >= 0.2.0 with crate(macro-attr) < 0.3.0) -BuildRequires: (crate(nix) >= 0.11.0 with crate(nix) < 0.12.0) -BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0) -BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0) -BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0) -BuildRequires: (crate(serde_json) >= 1.0.0 with crate(serde_json) < 2.0.0) -BuildRequires: (crate(tempfile) >= 3.0.1 with crate(tempfile) < 4.0.0) -BuildRequires: (crate(timerfd) >= 1.0.0 with crate(timerfd) < 2.0.0) -BuildRequires: ((crate(uuid) >= 0.6.0 with crate(uuid) < 0.7.0) with crate(uuid/serde) with crate(uuid/v4)) -BuildRequires: (crate(walkdir) >= 2.2.5 with crate(walkdir) < 3.0.0) -%if %{with check} -# [dev-dependencies] -BuildRequires: (crate(either) >= 1.1.0 with crate(either) < 2.0.0) -BuildRequires: (crate(loopdev) >= 0.2.0 with crate(loopdev) < 0.3.0) -BuildRequires: (crate(quickcheck) >= 0.6.0 with crate(quickcheck) < 0.7.0) -%endif -BuildRequires: %{_bindir}/a2x -BuildRequires: systemd - -%{?systemd_requires} -Requires: xfsprogs -Requires: device-mapper-persistent-data - -%description -%{summary}. - -%prep -%autosetup -p1 -%cargo_prep - -%build -%cargo_build -%cargo_build -n -a2x -f manpage docs/stratisd.txt - -%install -%cargo_install -# Daemon should be really private -mkdir -p %{buildroot}%{_libexecdir} -mv %{buildroot}%{_bindir}/stratisd %{buildroot}%{_libexecdir}/stratisd - -%cargo_install -n -# Init version should be in sbin -mkdir -p %{buildroot}%{_sbindir} -mv %{buildroot}%{_bindir}/stratisd %{buildroot}%{_sbindir}/stratisd-init - -%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/dbus-1/system.d stratisd.conf -%{__install} -Dpm0644 -t %{buildroot}%{_mandir}/man8 docs/stratisd.8 -%{__install} -Dpm0644 -t %{buildroot}%{_unitdir} stratisd.service - -%if %{with check} -%check -%cargo_test -- -- --skip real_ --skip loop_ --skip travis_ --skip test_buffering -%endif - -%post -%systemd_post stratisd.service - -%preun -%systemd_preun stratisd.service - -%postun -%systemd_postun_with_restart stratisd.service - -%files -%license LICENSE -%doc README.md -%{_libexecdir}/stratisd -%{_sbindir}/stratisd-init -%dir %{_datadir}/dbus-1 -%{_datadir}/dbus-1/system.d/stratisd.conf -%{_mandir}/man8/stratisd.8* -%{_unitdir}/stratisd.service - -%changelog -* Thu Sep 27 2018 Igor Gnatenko - 1.0.0-1 -- Update to 1.0.0 - -* Wed Sep 19 2018 Igor Gnatenko - 0.9.0-4 -- Add missing systemd scriptlets - -* Wed Sep 19 2018 Tony Asleson - 0.9.0-3 -- Add systemd unit file -- Remove systemd activation file - -* Tue Sep 18 2018 Igor Gnatenko - 0.9.0-2 -- Rebuild to workaround pungi bug - -* Sat Sep 01 2018 Igor Gnatenko - 0.9.0-1 -- Update to 0.9.0 - -* Fri Aug 3 2018 Andy Grover - 0.5.5-2 -- Disable a failing but noncritical test - -* Fri Aug 03 2018 Igor Gnatenko - 0.5.5-1 -- Update to 0.5.5 - -* Thu Jul 19 2018 Igor Gnatenko - 0.5.4-3 -- Upgrade dependencies - -* Sat Jul 14 2018 Fedora Release Engineering - 0.5.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Jul 11 2018 Igor Gnatenko - 0.5.4-1 -- Update to 0.5.4 - -* Fri Jun 22 2018 Igor Gnatenko - 0.5.3-2 -- Add -init version of daemon -- Own dbus-1 directory - -* Mon Jun 4 2018 Andy Grover - 0.5.3-1 -- Update to 0.5.3 - -* Fri May 4 2018 Andy Grover - 0.5.2-2 -- Add 0002-Prefix-commands-with-entire-path.patch - -* Tue May 1 2018 Andy Grover - 0.5.2-1 -- Update to 0.5.2 - -* Tue Apr 03 2018 Igor Gnatenko - 0.5.1-1 -- Update to 0.5.1 - -* Tue Mar 13 2018 Andy Grover - 0.5.0-2 -- Add stratisd manpage - -* Thu Mar 08 2018 Igor Gnatenko - 0.5.0-1 -- Update to 0.5.0 - -* Thu Feb 15 2018 Andy Grover - 0.1.5-2 -- Require packages that contain binaries that we exec: xfsprogs and - device-mapper-persistent-data - -* Sun Feb 11 2018 Igor Gnatenko - 0.1.5-1 -- Update to 0.1.5 - -* Fri Feb 09 2018 Fedora Release Engineering - 0.1.4-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Mon Jan 08 2018 Igor Gnatenko - 0.1.4-3 -- Rebuild for rust-packaging v5 - -* Mon Jan 08 2018 Igor Gnatenko - 0.1.4-2 -- Move binary under %%{_libexecdir} -- Add dbus service (so it is activatable) -- Fix rand's version bump - -* Sun Jan 07 2018 Igor Gnatenko - 0.1.4-1 -- Initial package