Hello community, here is the log from the commit of package argon2 for openSUSE:Factory checked in at 2017-03-02 19:29:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/argon2 (Old) and /work/SRC/openSUSE:Factory/.argon2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "argon2" Thu Mar 2 19:29:34 2017 rev:3 rq:460172 version:0.0+20161029 Changes: -------- --- /work/SRC/openSUSE:Factory/argon2/argon2.changes 2017-02-05 16:30:39.372788520 +0100 +++ /work/SRC/openSUSE:Factory/.argon2.new/argon2.changes 2017-03-02 19:29:35.337413138 +0100 @@ -1,0 +2,6 @@ +Thu Feb 23 22:32:49 UTC 2017 - adam@mizerski.pl + +- moved argon2-specs.pdf to doc subpackage +- added packaging of man page + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ argon2.spec ++++++ --- /var/tmp/diff_new_pack.d5ynNo/_old 2017-03-02 19:29:35.901333329 +0100 +++ /var/tmp/diff_new_pack.d5ynNo/_new 2017-03-02 19:29:35.901333329 +0100 @@ -39,6 +39,15 @@ the design of memory-hard functions and can be used to hash passwords for credential storage, key derivation, or other applications. +%package doc +Summary: Documentation for Argon2 +Group: Documentation/Other +BuildArch: noarch + +%description doc +Documentation for Argon2, the password-hashing function that won the Password +Hashing Competition (PHC). + %package -n %{lname} Summary: The reference C implementation of Argon2 Group: System/Libraries @@ -73,6 +82,8 @@ mv %{buildroot}%{_libdir}/libargon2.so %{buildroot}%{_libdir}/libargon2.so.0 ln -s %{_libdir}/libargon2.so.0 %{buildroot}%{_libdir}/libargon2.so +install -D -m 644 man/argon2.1 %{buildroot}%{_mandir}/man1/argon2.1 + %check make CFLAGS="-pthread %{optflags} -Iinclude -Isrc" test @@ -81,8 +92,13 @@ %files %defattr(-,root,root) -%doc LICENSE CHANGELOG.md README.md argon2-specs.pdf +%doc LICENSE CHANGELOG.md README.md %{_bindir}/argon2 +%{_mandir}/man1/argon2.1%{ext_man} + +%files doc +%defattr(-,root,root) +%doc argon2-specs.pdf %files -n %{lname} %defattr(-,root,root)