Hello community, here is the log from the commit of package tealdeer for openSUSE:Leap:15.2 checked in at 2020-02-19 18:45:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/tealdeer (Old) and /work/SRC/openSUSE:Leap:15.2/.tealdeer.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tealdeer" Wed Feb 19 18:45:06 2020 rev:1 rq:775635 version:1.2.0 Changes: -------- New Changes file: --- /dev/null 2019-12-19 10:12:34.003146842 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.tealdeer.new.26092/tealdeer.changes 2020-02-19 18:45:07.506646998 +0100 @@ -0,0 +1,32 @@ +------------------------------------------------------------------- +Tue Oct 15 13:03:56 UTC 2019 - Dany Marcoux <[email protected]> + +- Instruct packager to install cargo directly from the cargo package + +------------------------------------------------------------------- +Tue Oct 1 21:32:17 UTC 2019 - Dany Marcoux <[email protected]> + +- Use `pwd`/.cargo for vendor config so that CARGO_HOME export is + not required (thanks to luke_nukem for this) + +------------------------------------------------------------------- +Tue Sep 24 14:35:45 UTC 2019 - Dany Marcoux <[email protected]> + +- Version 1.2.0 + - Add support for spaces in commands + - Add pager support + - Print detected OS with -v / --version + - Add (back) support for proxies +- Set directory for 'git clone' in README.packager +- Add '--path .' to 'cargo install' command to install the binaries for the + package in current working directory. + +------------------------------------------------------------------- +Sun Apr 28 07:27:57 UTC 2019 - Jan Engelhardt <[email protected]> + +- Trim bias from descriptions. Remove double %setup. + +------------------------------------------------------------------- +Wed Apr 24 18:53:34 UTC 2019 - Dany Marcoux <[email protected]> + +- Initial packaging at 1.1.0 New: ---- README.packager tealdeer-1.2.0.tar.gz tealdeer.changes tealdeer.spec vendor.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tealdeer.spec ++++++ # # spec file for package tealdeer # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # 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: tealdeer Version: 1.2.0 Release: 0 Summary: An implementation of tldr in Rust License: MIT OR Apache-2.0 Group: Productivity/Other URL: https://github.com/dbrgn/tealdeer Source0: https://github.com/dbrgn/tealdeer/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: vendor.tar.xz # Instructions on how to generate vendor.tar.xz Source2: README.packager BuildRequires: cargo BuildRequires: cmake BuildRequires: libopenssl-devel BuildRequires: rust BuildRequires: rust-std BuildRequires: zlib-devel %description An implementation of tldr in Rust. It has example based and community-driven man pages. %prep %setup -qa1 mkdir .cargo cat >.cargo/config <<EOF [source.crates-io] registry = 'https://github.com/rust-lang/crates.io-index' replace-with = 'vendored-sources' [source.vendored-sources] directory = './vendor' EOF %build cargo build --release --locked %{?_smp_mflags} %install cargo install --root=%{buildroot}%{_prefix} --path . # remove residue crate file rm %{buildroot}%{_prefix}/.crates.toml %files %doc README.md %license LICENSE-MIT LICENSE-APACHE %{_bindir}/tldr %changelog ++++++ README.packager ++++++ # Heavily based on https://build.opensuse.org/package/view_file/devel:languages:rust/racer/README.packager (Thank you for this!) # # Generating `vendor.tar.xz` 1. Install `cargo` from official repositories. zypper install cargo 2. Checkout version git clone https://github.com/dbrgn/tealdeer ~/tmp/tealdeer cd ~/tmp/tealdeer git checkout v1.1.0 (or another version from `git tag --list`) 3. Generate archive cargo vendor tar -cJf vendor.tar.xz vendor
