From 51cc433cb5ccbfe913f6060fa4592acffeef3f621fa4df02f916cf6e68178936 Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Mon, 30 Aug 2010 12:21:55 +0000 Subject: [PATCH] - New subpackages: libpath_utils1 and libpath_utils-devel OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=20 --- sssd.changes | 3 ++- sssd.spec | 49 ++++++++++++++++++++++++++++++++++++++++--------- 2 files changed, 42 insertions(+), 10 deletions(-) diff --git a/sssd.changes b/sssd.changes index 143005f..ecd3bd0 100644 --- a/sssd.changes +++ b/sssd.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Mon Aug 30 09:58:19 UTC 2010 - rhafer@novell.com +Mon Aug 30 12:21:02 UTC 2010 - rhafer@novell.com - Updated to 1.3.1 * Fixes to the HBAC backend for obsolete or removed HBAC entries @@ -19,6 +19,7 @@ Mon Aug 30 09:58:19 UTC 2010 - rhafer@novell.com where we may have come online * New option "dns_discovery_domain" allows better configuration for using SRV records for failover +- New subpackages: libpath_utils1 and libpath_utils-devel ------------------------------------------------------------------- Wed Mar 31 14:02:43 UTC 2010 - rhafer@novell.com diff --git a/sssd.spec b/sssd.spec index 2076765..250f486 100644 --- a/sssd.spec +++ b/sssd.spec @@ -30,8 +30,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %define dhash_version 0.4.0 %define path_utils_version 0.2.0 -%define collection_version 0.4.0 -%define ini_config_version 0.4.0 +%define collection_version 0.5.0 +%define ini_config_version 0.6.0 %define refarray_version 0.1.0 ### Dependencies ### @@ -119,7 +119,7 @@ Summary: Development files for libdhash Group: Development/Libraries/C and C++ Version: %{dhash_version} Release: 1 -Requires: libdhash1 = %{dhash_version} +Requires: libdhash1 = %{dhash_version}-%{release} License: LGPLv3+ %description -n libdhash-devel @@ -142,7 +142,7 @@ Summary: Development files for libcollection Group: Development/Libraries/C and C++ Version: %{collection_version} Release: 1 -Requires: libcollection2 = %{collection_version} +Requires: libcollection2 = %{collection_version}-%{release} License: LGPLv3+ %description -n libcollection-devel @@ -165,13 +165,34 @@ Summary: Development files for libini_config Group: Development/Libraries/C and C++ Version: %{ini_config_version} Release: 1 -Requires: libini_config2 = %{ini_config_version} +Requires: libini_config2 = %{ini_config_version}-%{release} License: LGPLv3+ %description -n libini_config-devel Library to process config files in INI format into a libcollection data structure +%package -n libpath_utils1 +Summary: Filesystem Path Utilities +Group: Development/Libraries/C and C++ +Version: %{path_utils_version} +Release: 1 +License: LGPLv3+ + +%description -n libpath_utils1 +Utility functions to manipulate filesystem pathnames + +%package -n libpath_utils-devel +Summary: Development files for libpath_utils +Group: Development/Libraries/C and C++ +Version: %{path_utils_version} +Release: 1 +Requires: libpath_utils1 = %{path_utils_version}-%{release} +License: LGPLv3+ + +%description -n libpath_utils-devel +Utility functions to manipulate filesystem pathnames + %prep %setup -q @@ -230,10 +251,7 @@ mv $RPM_BUILD_ROOT/%{_datarootdir}/doc/dhash/* $RPM_BUILD_ROOT/%{_docdir}/dhash rm -f \ $RPM_BUILD_ROOT/%{_libdir}/libref_array.* \ $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/ref_array.pc \ - $RPM_BUILD_ROOT/%{_prefix}/include/ref_array*.h \ - $RPM_BUILD_ROOT/%{_libdir}/libpath_utils.* \ - $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/path_utils.pc \ - $RPM_BUILD_ROOT/%{_prefix}/include/path_utils.h + $RPM_BUILD_ROOT/%{_prefix}/include/ref_array*.h %clean rm -rf $RPM_BUILD_ROOT @@ -260,6 +278,10 @@ rm -rf $RPM_BUILD_ROOT %postun -n libini_config2 -p /sbin/ldconfig +%post -n libpath_utils1 -p /sbin/ldconfig + +%postun -n libpath_utils1 -p /sbin/ldconfig + %files -f sss_daemon.lang %defattr(-,root,root,-) %doc COPYING @@ -352,4 +374,13 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/collection.pc %{_prefix}/include/collection*.h +%files -n libpath_utils1 +%defattr(-,root,root,-) +%{_libdir}/libpath_utils.so.* + +%files -n libpath_utils-devel +%defattr(-,root,root,-) +%{_libdir}/libpath_utils.so +%{_libdir}/pkgconfig/path_utils.pc +%{_prefix}/include/path_utils*.h %changelog