Hello community,

here is the log from the commit of package genders for openSUSE:Factory checked 
in at 2018-02-21 14:11:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/genders (Old)
 and      /work/SRC/openSUSE:Factory/.genders.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "genders"

Wed Feb 21 14:11:51 2018 rev:2 rq:578397 version:1.22

Changes:
--------
--- /work/SRC/openSUSE:Factory/genders/genders.changes  2018-02-05 
10:52:01.855057936 +0100
+++ /work/SRC/openSUSE:Factory/.genders.new/genders.changes     2018-02-21 
14:11:52.393321386 +0100
@@ -1,0 +2,9 @@
+Tue Feb 20 14:31:39 UTC 2018 - jjo...@suse.com
+
+- Added new package genders-base for the configuration file common
+  to the libraries (bsc#1081479)
+  * genders, libgenders, and libgendersplusplus now require
+    geners-base
+- %install comments out sample configuration using sed
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ genders.spec ++++++
--- /var/tmp/diff_new_pack.EODFNu/_old  2018-02-21 14:11:54.529244467 +0100
+++ /var/tmp/diff_new_pack.EODFNu/_new  2018-02-21 14:11:54.533244323 +0100
@@ -41,6 +41,7 @@
 BuildRequires:  python-devel
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Requires:       %{name}-base
 
 %description
 Genders is a static cluster configuration database used for cluster
@@ -52,6 +53,13 @@
 into a plain text file, it becomes possible to change the
 configuration of a cluster by modifying only one file.
 
+%package base
+Summary:        Base configuration for gender programs and libraries
+Group:          System/Management
+
+%description base
+Base configuration files needed by the gender and libgender packages
+
 %package perl-compat
 Summary:        Perl compatibility Library
 Group:          Development/Languages/Perl
@@ -88,6 +96,7 @@
 %package -n lib%{name}%{c_api}
 Summary:        C library API for genders
 Group:          System/Libraries
+Requires:       %{name}-base
 
 %description -n  lib%{name}%{c_api}
 This package contains the library needed to run programs dynamically linked
@@ -96,6 +105,7 @@
 %package -n lib%{name}plusplus%{cpp_api}
 Summary:        C++ library API for genders
 Group:          System/Libraries
+Requires:       %{name}-base
 
 %description -n lib%{name}plusplus%{cpp_api} 
 This package contains the library needed to run programs dynamically linked
@@ -171,9 +181,14 @@
 # lines. However, no single node may have duplicate attributes. Genders 
database 
 # accepts ranges of nodenames in the general form: prefix[n-m,l-k,...], 
 # where n < m and l < k, etc., as an alternative to explicit lists of 
nodenames.
+#
+# Following is a sample genders configuration setup
+#
 EOF
 LD_PRELOAD=%{buildroot}%{_libdir}/libgenders.so.0 
%{buildroot}%{_bindir}/nodeattr -f genders.sample --compress >> 
%{buildroot}%{_sysconfdir}/genders
 
+sed -i -e 's/^\([^#]\)/## \1/' %{buildroot}%{_sysconfdir}/genders
+
 %post -n lib%{name}plusplus%{cpp_api} -p /sbin/ldconfig 
 
 %postun -n lib%{name}plusplus%{cpp_api} -p /sbin/ldconfig 
@@ -184,11 +199,14 @@
 
 %files
 %defattr(-,root,root)
-%doc README NEWS ChangeLog DISCLAIMER DISCLAIMER.UC COPYING TUTORIAL 
genders.sample
 # It doesn't matter if the user chooses a 32bit or 64bit target.  The
 # packaging must work off whatever Perl is installed.
 %{_mandir}/man1/*
 %{_bindir}/*
+
+%files base
+%defattr(-,root,root)
+%doc README NEWS ChangeLog DISCLAIMER DISCLAIMER.UC COPYING TUTORIAL 
genders.sample
 %config(noreplace) %{_sysconfdir}/genders
 
 %files perl-compat


Reply via email to