commit genders for openSUSE:Factory

2020-01-07 Thread root
Hello community,

here is the log from the commit of package genders for openSUSE:Factory checked 
in at 2020-01-07 23:55:33

Comparing /work/SRC/openSUSE:Factory/genders (Old)
 and  /work/SRC/openSUSE:Factory/.genders.new.6675 (New)


Package is "genders"

Tue Jan  7 23:55:33 2020 rev:8 rq:761606 version:1.27.3

Changes:

--- /work/SRC/openSUSE:Factory/genders/genders.changes  2019-11-30 
10:41:18.432143896 +0100
+++ /work/SRC/openSUSE:Factory/.genders.new.6675/genders.changes
2020-01-07 23:56:12.608120282 +0100
@@ -1,0 +2,5 @@
+Thu Dec 19 14:19:10 UTC 2019 - Christian Goll 
+
+- moved python plugin to python3
+
+---



Other differences:
--
++ genders.spec ++
--- /var/tmp/diff_new_pack.ikkOaP/_old  2020-01-07 23:56:14.132121074 +0100
+++ /var/tmp/diff_new_pack.ikkOaP/_new  2020-01-07 23:56:14.140121078 +0100
@@ -40,8 +40,6 @@
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  lua-devel
-BuildRequires:  python
-BuildRequires:  python-devel
 BuildRequires:  python3
 BuildRequires:  python3-devel
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -79,13 +77,13 @@
 %description devel
 genders headers and libraries files needed for development
 
-%package -n python-%{name}
+%package -n python3-%{name}
 Summary:Python bindings for genders
 Group:  Development/Languages/Python
 Requires:   %{name} = %{version}
 Requires:   python
 
-%description -n python-%{name}
+%description -n python3-%{name}
 Necessary files for using genders with Python.
 
 %package -n lua-%{name}
@@ -150,6 +148,9 @@
 libtoolize -f -i
 automake -a -f
 autoconf --force
+mkdir -p bin/
+ln -s $(which python3) bin/python
+export PATH=$(pwd)/bin/:${PATH}
 %configure --program-prefix=%{?_program_prefix:%{_program_prefix}} \
 %{?_with_perl_extensions} \
 %{?_without_perl_extensions} \
@@ -184,6 +185,7 @@
 rm -v %{buildroot}%{_libdir}/libgendersplusplus.la
 %endif
 rm -v %{buildroot}%{_libdir}/libgenders.la
+rm -rv %{buildroot}%{_libdir}/python*/site-packages/__pycache__
 find %{buildroot}%{_libdir}/lua -name \*.la -delete 
 mkdir -p  %{buildroot}%{_sysconfdir}
 # create sample config, but remove comments
@@ -241,7 +243,7 @@
 %{_mandir}/man3/libgenders*
 
 %if %{?_with_python_extensions:1}%{!?_with_python_extensions:0}
-%files -n python-%{name}
+%files -n python3-%{name}
 %{_libdir}/python*
 %endif
 




commit genders for openSUSE:Factory

2019-11-30 Thread root
Hello community,

here is the log from the commit of package genders for openSUSE:Factory checked 
in at 2019-11-30 10:40:15

Comparing /work/SRC/openSUSE:Factory/genders (Old)
 and  /work/SRC/openSUSE:Factory/.genders.new.26869 (New)


Package is "genders"

Sat Nov 30 10:40:15 2019 rev:7 rq:752382 version:1.27.3

Changes:

--- /work/SRC/openSUSE:Factory/genders/genders.changes  2019-10-02 
14:55:50.387295186 +0200
+++ /work/SRC/openSUSE:Factory/.genders.new.26869/genders.changes   
2019-11-30 10:41:18.432143896 +0100
@@ -1,0 +2,10 @@
+Fri Nov 29 09:35:37 UTC 2019 - Ana Guerrero Lopez 
+
+- Update to version 1.27.3:
+  * Fix parsing corner case, newlines are not required at end 
+of lines 
+  * Add make target for genders_query.tab.c to fix gentoo build issue.
+  * javadoc fix && to & amp;& amp;
+  * fix testsuite to operate where there isn't a default genders file
+
+---

Old:

  genders-1.26.tar.gz

New:

  genders-1.27.3.tar.gz



Other differences:
--
++ genders.spec ++
--- /var/tmp/diff_new_pack.L6HRA7/_old  2019-11-30 10:41:18.916143838 +0100
+++ /var/tmp/diff_new_pack.L6HRA7/_new  2019-11-30 10:41:18.920143837 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package genders
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,10 +19,10 @@
 # Check file META in sources: update so_version to (API_CURRENT - API_AGE)
 %define c_api 0
 %define cpp_api 2
-%define slash_ver 1-26-1
+%define slash_ver 1-27-3
 
 Name:   genders
-Version:1.26
+Version:1.27.3
 Release:0
 Summary:Static cluster configuration database
 License:GPL-2.0-or-later
@@ -31,7 +31,7 @@
 Patch1: Fix-Python-package-installation-use-root.patch
 Patch2: Remove-PERL_DESTDIR-use-DESTDIR-instead.patch
 Patch4: lua_bindings.patch
-Url:https://github.com/chaos/genders
+URL:https://github.com/chaos/genders
 BuildRequires:  autoconf
 BuildRequires:  autoconf-archive
 BuildRequires:  automake
@@ -45,7 +45,6 @@
 BuildRequires:  python3
 BuildRequires:  python3-devel
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Requires:   %{name}-base
 
 %description
@@ -144,7 +143,7 @@
 rm -r genders-genders-%{slash_ver}
 %patch1 -p1
 %patch2 -p1
-%patch4 -p1 -R
+%patch4 -p1 
 
 %build
 aclocal --force --install -I config
@@ -162,6 +161,7 @@
 %{?_without_python_extensions} \
 %{?_with_cplusplus_extensions} \
 %{?_without_cplusplus_extensions} \
+--with-lua-extensions \
 --without-java-extensions \
 --disable-static
 
@@ -222,19 +222,16 @@
 %{_bindir}/*
 
 %files base
-%defattr(-,root,root)
 %doc README NEWS ChangeLog DISCLAIMER DISCLAIMER.UC TUTORIAL genders.sample
 %license COPYING
 %config(noreplace) %{_sysconfdir}/genders
 
 %files perl-compat
-%defattr(-,root,root)
 %dir %{_prefix}/lib/genders
 %{_prefix}/lib/genders/*
 %{_mandir}/man3/gendlib*
 
 %files devel
-%defattr(-,root,root)
 %{_includedir}/*
 %{_libdir}/libgenders.so
 %if %{?_with_cplusplus_extensions:1}%{!?_with_cplusplus_extensions:0}

++ genders-1.26.tar.gz -> genders-1.27.3.tar.gz ++
 38320 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/genders-genders-1-26-1/ChangeLog new/genders-genders-1-27-3/ChangeLog
--- old/genders-genders-1-26-1/ChangeLog2019-06-19 19:41:36.0 
+0200
+++ new/genders-genders-1-27-3/ChangeLog2019-11-26 00:13:43.0 
+0100
@@ -1,3 +1,15 @@
+2019-10-31  Albert Chu  
+
+   * src/libgenders/Makefile.am: Add make target for
+   query_parse.tab.c.
+
+2019-10-30  Albert Chu  
+
+   * src/libgenders/genders_parsing.c: Fix corner case in which lines
+   without newlines are assumed invald.
+
+   * tag genders-1-27-1
+
 2019-06-19  Ben Casses 
 
* merged PR from @sdm900 for faster parsing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 

commit genders for openSUSE:Factory

2019-10-02 Thread root
Hello community,

here is the log from the commit of package genders for openSUSE:Factory checked 
in at 2019-10-02 14:55:45

Comparing /work/SRC/openSUSE:Factory/genders (Old)
 and  /work/SRC/openSUSE:Factory/.genders.new.2352 (New)


Package is "genders"

Wed Oct  2 14:55:45 2019 rev:6 rq:734533 version:1.26

Changes:

--- /work/SRC/openSUSE:Factory/genders/genders.changes  2019-07-26 
12:40:36.973900601 +0200
+++ /work/SRC/openSUSE:Factory/.genders.new.2352/genders.changes
2019-10-02 14:55:50.387295186 +0200
@@ -4 +4 @@
-- updated to ver 1.26 which has faster parsing
+- updated to ver 1.26 (jsc#SLE-9949) which has faster parsing



Other differences:
--



commit genders for openSUSE:Factory

2019-07-26 Thread root
Hello community,

here is the log from the commit of package genders for openSUSE:Factory checked 
in at 2019-07-26 12:40:30

Comparing /work/SRC/openSUSE:Factory/genders (Old)
 and  /work/SRC/openSUSE:Factory/.genders.new.4126 (New)


Package is "genders"

Fri Jul 26 12:40:30 2019 rev:5 rq:718444 version:1.26

Changes:

--- /work/SRC/openSUSE:Factory/genders/genders.changes  2018-12-03 
10:11:58.871620706 +0100
+++ /work/SRC/openSUSE:Factory/.genders.new.4126/genders.changes
2019-07-26 12:40:36.973900601 +0200
@@ -1,0 +2,8 @@
+Thu Jul 18 14:27:16 UTC 2019 - Christian Goll 
+
+- updated to ver 1.26 which has faster parsing
+ * updated Fix-Python-package-installation-use-root.patch
+ * Removed Remove-all-remains-of-EXTENSION_DESTDIR.patch
+   as not relevant any more
+
+---

Old:

  Remove-all-remains-of-EXTENSION_DESTDIR.patch
  genders-1.22.tar.gz

New:

  genders-1.26.tar.gz



Other differences:
--
++ genders.spec ++
--- /var/tmp/diff_new_pack.eoJtrH/_old  2019-07-26 12:40:40.525899054 +0200
+++ /var/tmp/diff_new_pack.eoJtrH/_new  2019-07-26 12:40:40.557899041 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package genders
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -12,24 +12,24 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 # Check file META in sources: update so_version to (API_CURRENT - API_AGE)
 %define c_api 0
 %define cpp_api 2
+%define slash_ver 1-26-1
 
 Name:   genders
-Version:1.22
+Version:1.26
 Release:0
 Summary:Static cluster configuration database
 License:GPL-2.0-or-later
 Group:  System/Management
-Source: 
https://github.com/chaos/genders/releases/download/genders-1-22-1/%{name}-%{version}.tar.gz
+Source: 
https://github.com/chaos/genders/archive/genders-%{slash_ver}/%{name}-%{version}.tar.gz
 Patch1: Fix-Python-package-installation-use-root.patch
 Patch2: Remove-PERL_DESTDIR-use-DESTDIR-instead.patch
-Patch3: Remove-all-remains-of-EXTENSION_DESTDIR.patch
 Patch4: lua_bindings.patch
 Url:https://github.com/chaos/genders
 BuildRequires:  autoconf
@@ -139,10 +139,11 @@
 %define _perldir %(perl -e 'use Config; $T=$Config{installvendorarch}; 
$P=$Config{vendorprefix}; $T=~/$P\\/(.*)/; print "%{_prefix}/$1\\n"')
 %endif
 %prep
-%setup -q
+%setup -c -q -n %{name}-%{version}
+mv genders-genders-%{slash_ver}/* .
+rm -r genders-genders-%{slash_ver}
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
 %patch4 -p1 -R
 
 %build

++ Fix-Python-package-installation-use-root.patch ++
--- /var/tmp/diff_new_pack.eoJtrH/_old  2019-07-26 12:40:40.901898891 +0200
+++ /var/tmp/diff_new_pack.eoJtrH/_new  2019-07-26 12:40:40.929898878 +0200
@@ -33,15 +33,15 @@
$(PYTHON) genderssetup.py build
  
  install:
--  $(PYTHON) genderssetup.py install --prefix=$(PYTHON_DESTDIR)/$(prefix) 
--exec-prefix=$(PYTHON_DESTDIR)/$(exec_prefix)
+-  $(PYTHON) genderssetup.py install --prefix=$(PYTHON_DESTDIR)$(prefix) 
--exec-prefix=$(PYTHON_DESTDIR)$(exec_prefix)
 +  $(PYTHON) genderssetup.py install --prefix=$(prefix) 
--exec-prefix=$(exec_prefix) $(PYDEST)
  
  pure_install:
--  $(PYTHON) genderssetup.py install --prefix=$(PYTHON_DESTDIR)/$(prefix) 
--exec-prefix=$(PYTHON_DESTDIR)/$(exec_prefix)
+-  $(PYTHON) genderssetup.py install --prefix=$(PYTHON_DESTDIR)$(prefix) 
--exec-prefix=$(PYTHON_DESTDIR)$(exec_prefix)
 +  $(PYTHON) genderssetup.py install --prefix=$(prefix) 
--exec-prefix=$(exec_prefix) $(PYDEST)
  
  install-data-local:
--  $(PYTHON) genderssetup.py install --prefix=$(PYTHON_DESTDIR)/$(prefix) 
--exec-prefix=$(PYTHON_DESTDIR)/$(exec_prefix)
+-  $(PYTHON) genderssetup.py install --prefix=$(PYTHON_DESTDIR)$(prefix) 
--exec-prefix=$(PYTHON_DESTDIR)$(exec_prefix)
 +  $(PYTHON) genderssetup.py install --prefix=$(prefix) 
--exec-prefix=$(exec_prefix) $(PYDEST)
  
  clean: 

++ genders-1.22.tar.gz -> genders-1.26.tar.gz ++
 82523 lines of diff (skipped)




commit genders for openSUSE:Factory

2018-12-03 Thread root
Hello community,

here is the log from the commit of package genders for openSUSE:Factory checked 
in at 2018-12-03 10:11:20

Comparing /work/SRC/openSUSE:Factory/genders (Old)
 and  /work/SRC/openSUSE:Factory/.genders.new.19453 (New)


Package is "genders"

Mon Dec  3 10:11:20 2018 rev:4 rq:653370 version:1.22

Changes:

--- /work/SRC/openSUSE:Factory/genders/genders.changes  2018-11-08 
09:47:07.105196611 +0100
+++ /work/SRC/openSUSE:Factory/.genders.new.19453/genders.changes   
2018-12-03 10:11:58.871620706 +0100
@@ -1,0 +2,5 @@
+Sat Dec  1 18:10:22 UTC 2018 - e...@suse.com
+
+- Fix %%license.
+
+---
@@ -5 +10 @@
-  * package lua-genders cotains the bindings
+  * package lua-genders cotains the bindings (FATE#326456).



Other differences:
--
++ genders.spec ++
--- /var/tmp/diff_new_pack.92iOhi/_old  2018-12-03 10:11:59.599620032 +0100
+++ /var/tmp/diff_new_pack.92iOhi/_new  2018-12-03 10:11:59.603620029 +0100
@@ -42,6 +42,8 @@
 BuildRequires:  lua-devel
 BuildRequires:  python
 BuildRequires:  python-devel
+BuildRequires:  python3
+BuildRequires:  python3-devel
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Requires:   %{name}-base
@@ -220,7 +222,8 @@
 
 %files base
 %defattr(-,root,root)
-%doc README NEWS ChangeLog DISCLAIMER DISCLAIMER.UC COPYING TUTORIAL 
genders.sample
+%doc README NEWS ChangeLog DISCLAIMER DISCLAIMER.UC TUTORIAL genders.sample
+%license COPYING
 %config(noreplace) %{_sysconfdir}/genders
 
 %files perl-compat




commit genders for openSUSE:Factory

2018-11-08 Thread root
Hello community,

here is the log from the commit of package genders for openSUSE:Factory checked 
in at 2018-11-08 09:47:05

Comparing /work/SRC/openSUSE:Factory/genders (Old)
 and  /work/SRC/openSUSE:Factory/.genders.new (New)


Package is "genders"

Thu Nov  8 09:47:05 2018 rev:3 rq:643218 version:1.22

Changes:

--- /work/SRC/openSUSE:Factory/genders/genders.changes  2018-02-21 
14:11:52.393321386 +0100
+++ /work/SRC/openSUSE:Factory/.genders.new/genders.changes 2018-11-08 
09:47:07.105196611 +0100
@@ -1,0 +2,6 @@
+Fri Oct 19 13:45:47 UTC 2018 - cg...@suse.com
+
+- Added lua binding with lua_bindings.patch
+  * package lua-genders cotains the bindings
+
+---

New:

  lua_bindings.patch



Other differences:
--
++ genders.spec ++
--- /var/tmp/diff_new_pack.vE1p19/_old  2018-11-08 09:47:07.837195752 +0100
+++ /var/tmp/diff_new_pack.vE1p19/_new  2018-11-08 09:47:07.841195747 +0100
@@ -24,19 +24,22 @@
 Version:1.22
 Release:0
 Summary:Static cluster configuration database
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  System/Management
 Source: 
https://github.com/chaos/genders/releases/download/genders-1-22-1/%{name}-%{version}.tar.gz
 Patch1: Fix-Python-package-installation-use-root.patch
 Patch2: Remove-PERL_DESTDIR-use-DESTDIR-instead.patch
 Patch3: Remove-all-remains-of-EXTENSION_DESTDIR.patch
+Patch4: lua_bindings.patch
 Url:https://github.com/chaos/genders
 BuildRequires:  autoconf
+BuildRequires:  autoconf-archive
 BuildRequires:  automake
 BuildRequires:  bison
 BuildRequires:  flex
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
+BuildRequires:  lua-devel
 BuildRequires:  python
 BuildRequires:  python-devel
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -84,6 +87,15 @@
 %description -n python-%{name}
 Necessary files for using genders with Python.
 
+%package -n lua-%{name}
+Summary:Lua bindings for genders
+Group:  Development/Languages/Lua
+Requires:   %{name} = %{version}
+Requires:   lua
+
+%description -n lua-%{name}
+Necessary files for using genders with lua.
+
 %package -n perl-%{name}
 Summary:Perl bindings for genders
 Group:  Development/Languages/Perl
@@ -129,6 +141,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1 -R
 
 %build
 aclocal --force --install -I config
@@ -168,6 +181,7 @@
 rm -v %{buildroot}%{_libdir}/libgendersplusplus.la
 %endif
 rm -v %{buildroot}%{_libdir}/libgenders.la
+find %{buildroot}%{_libdir}/lua -name \*.la -delete 
 mkdir -p  %{buildroot}%{_sysconfdir}
 # create sample config, but remove comments
 cat > %{buildroot}%{_sysconfdir}/genders <
-#
-#  SYNOPSIS:
-#AC_LUA
-#
-#  DESCRIPTION:
-#Check for presence of lua libs and headers
-##*
-
-
-AC_DEFUN([X_AC_LUA],
-[
-   x_ac_lua_pkg_name="lua"
-   #check for 5.3 then 5.2 then 5.1
-   PKG_CHECK_EXISTS([lua5.3], [x_ac_lua_pkg_name=lua5.3],
-   [PKG_CHECK_EXISTS([lua-5.3], [x_ac_lua_pkg_name=lua-5.3],
-   [PKG_CHECK_EXISTS([lua5.2], [x_ac_lua_pkg_name=lua5.2],
-   [PKG_CHECK_EXISTS([lua-5.2], [x_ac_lua_pkg_name=lua-5.2],
-   [PKG_CHECK_EXISTS([lua5.1], [x_ac_lua_pkg_name=lua5.1],
-   [PKG_CHECK_EXISTS([lua-5.1], [x_ac_lua_pkg_name=lua-5.1],
-   [x_ac_lua_pkg_name="lua >= 5.1"])])])])])])
-   PKG_CHECK_MODULES([lua], ${x_ac_lua_pkg_name},
-[x_ac_have_lua="yes"],
-[x_ac_have_lua="no"])
-
-   if test "x$x_ac_have_lua" = "xyes"; then
- saved_CFLAGS="$CFLAGS"
- saved_LIBS="$LIBS"
- lua_CFLAGS="$lua_CFLAGS"
- CFLAGS="$CFLAGS $lua_CFLAGS"
- LIBS="$LIBS $lua_LIBS"
- AC_MSG_CHECKING([for whether we can link to liblua])
- AC_TRY_LINK(
-   [#include 
- #include 
-#include 
-   ],
-   [lua_State *L = luaL_newstate (); luaL_openlibs(L);
-   ],
-   [], [x_ac_have_lua="no"])
-
- AC_MSG_RESULT([$x_ac_have_lua $x_ac_lua_pkg_name])
- if test "x$x_ac_have_lua" = "xno"; then
-   AC_MSG_WARN([unable to link against lua libraries])
- else
-   AC_DEFINE(HAVE_LUA, 1, [Define to 1 if we have the Lua library])
-   # We can not define something here to determine version for systems
-   # that use just liblua we will not know what version we are using.
-   # Use LUA_VERSION_NUM as in lua.h it will always be right.
- fi
- CFLAGS="$saved_CFLAGS"
-   

commit genders for openSUSE:Factory

2018-02-21 Thread root
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