zram-generator

Edit Package zram-generator
No description set
Refresh
Refresh
Source Files (show unmerged sources)
Filename Size Changed
_service 0000001039 1.01 KB
_servicedata 0000000243 243 Bytes
cargo_config 0000000100 100 Bytes
vendor.tar.xz 0005903992 5.63 MB
zram-generator-1.1.2.tar.xz 0000022664 22.1 KB
zram-generator-rpmlintrc 0000000049 49 Bytes
zram-generator.8 0000004307 4.21 KB
zram-generator.changes 0000002812 2.75 KB
zram-generator.conf.5 0000008536 8.34 KB
zram-generator.obsinfo 0000000103 103 Bytes
zram-generator.spec 0000002676 2.61 KB
Latest Revision
buildservice-autocommit accepted request 985725 from Benjamin Brunner's avatar Benjamin Brunner (BenniBrunner) (revision 23)
baserev update by copy to link target
Comments 2

William Brown's avatar

Hey there, this looks really good!

Some comments though:

  • In _service you need to set changesauthor so the .changes file is correct
  • rather than use cargo_install, you can just use an "install ..." line similar to '# install -m 0755 %{_builddir}/%{name}-%{version}/target/release/hellorust %{buildroot}%{_bindir}/hellorust' (It's in the example on https://en.opensuse.org/Packaging_Rust_Software )
  • You have some rpm lint errors you may want to resolve:

[ 72s] zram-generator.src: E: unused-rpmlintrc-filter ".systemd-service-without-service." [ 72s] zram-generator.x86_64: E: no-changelogname-tag [ 72s] zram-generator.src: E: no-changelogname-tag [ 72s] There is no changelog. Please insert a '%changelog' section heading in your [ 72s] spec file and prepare your changes file using e.g. the 'osc vc' command.

Otherwise again looks good!


Benjamin Brunner's avatar

@firstyear, thanks again for your feedback. I've changed cargo_install now to manually "install..." and also set the changesauthor in the service-file.

About the rpmlint errors, hm, I don't see those, neither in a local build nor in the remote build log. Maybe this was a leftover from a previous build.

openSUSE Build Service is sponsored by