Hello community,
here is the log from the commit of package ccrypt for openSUSE:Factory checked
in at 2017-12-14 10:54:52
Comparing /work/SRC/openSUSE:Factory/ccrypt (Old)
and /work/SRC/openSUSE:Factory/.ccrypt.new (New)
Package is "ccrypt"
Thu Dec 14 10:54:52 2017 rev:2 rq:555096 version:1.10
Changes:
--- /work/SRC/openSUSE:Factory/ccrypt/ccrypt.changes2016-05-04
08:19:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.ccrypt.new/ccrypt.changes 2017-12-14
10:54:54.619067139 +0100
@@ -1,0 +2,6 @@
+Thu Dec 7 11:25:03 UTC 2017 - mplus...@suse.com
+
+- Split lang and emacs support subpackages
+- Run provided tests
+
+---
Other differences:
--
++ ccrypt.spec ++
--- /var/tmp/diff_new_pack.SZgvjy/_old 2017-12-14 10:54:55.375030645 +0100
+++ /var/tmp/diff_new_pack.SZgvjy/_new 2017-12-14 10:54:55.379030452 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ccrypt
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -24,9 +24,10 @@
Group: Productivity/Security
Url:http://ccrypt.sourceforge.net/
Source0:http://ccrypt.sourceforge.net/download/ccrypt-%{version}.tar.gz
+BuildRequires: bison
BuildRequires: emacs-nox
BuildRequires: libgcrypt-devel
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Recommends: %{name}-lang
%description
ccrypt is a utility for encrypting and decrypting files and streams.
@@ -35,8 +36,29 @@
ccrypt is based on the Rijndael cipher, which is the U.S. government's
chosen candidate for the Advanced Encryption Standard (AES, see
-http://www.nist.gov/aes).
-This cipher is believed to provide very strong security.
+http://www.nist.gov/aes). This cipher is believed to provide very strong
+security.
+
+%package emacs
+Summary:Integration for %{name} with emacs
+Group: Productivity/Security
+Requires: %{name} = %{version}
+Requires: emacs
+Supplements:packageand(emacs:%{name})
+
+%description emacs
+ccrypt is a utility for encrypting and decrypting files and streams.
+It was designed as a replacement for the standard unix crypt utility,
+which is notorious for using a very weak encryption algorithm.
+
+ccrypt is based on the Rijndael cipher, which is the U.S. government's
+chosen candidate for the Advanced Encryption Standard (AES, see
+http://www.nist.gov/aes). This cipher is believed to provide very strong
+security.
+
+This package contains integration with emacs
+
+%lang_package
%prep
%setup -q
@@ -46,26 +68,29 @@
make %{?_smp_mflags}
%install
-make %{?_smp_mflags} DESTDIR=%{buildroot} install htmldir="%{_docdir}/%{name}"
-
+%make_install htmldir="%{_docdir}/%{name}"
%find_lang ccrypt
-%files -f ccrypt.lang
-%defattr(-, root, root, 0755)
+%check
+make check
+
+%files
%doc AUTHORS ChangeLog README NEWS COPYING
%{_bindir}/ccrypt
%{_bindir}/ccguess
%{_bindir}/ccat
%{_bindir}/ccencrypt
%{_bindir}/ccdecrypt
-%dir %{_datadir}/emacs
-%dir %{_datadir}/emacs/site-lisp
-%{_datadir}/emacs/site-lisp/ps-ccrypt.el
-%{_datadir}/emacs/site-lisp/ps-ccrypt.elc
%{_mandir}/man1/ccrypt.1%{ext_man}
%{_mandir}/man1/ccguess.1%{ext_man}
%{_mandir}/man1/ccat.1%{ext_man}
%{_mandir}/man1/ccencrypt.1%{ext_man}
%{_mandir}/man1/ccdecrypt.1%{ext_man}
+%files emacs
+%{_datadir}/emacs/site-lisp/ps-ccrypt.el
+%{_datadir}/emacs/site-lisp/ps-ccrypt.elc
+
+%files lang -f %{name}.lang
+
%changelog