Hello community, here is the log from the commit of package fedfs-utils for openSUSE:Factory checked in at 2020-03-19 19:45:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fedfs-utils (Old) and /work/SRC/openSUSE:Factory/.fedfs-utils.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fedfs-utils" Thu Mar 19 19:45:28 2020 rev:11 rq:785871 version:0.10.7 Changes: -------- --- /work/SRC/openSUSE:Factory/fedfs-utils/fedfs-utils.changes 2017-11-25 08:41:41.500372349 +0100 +++ /work/SRC/openSUSE:Factory/.fedfs-utils.new.3160/fedfs-utils.changes 2020-03-19 19:49:10.252145028 +0100 @@ -1,0 +2,7 @@ +Tue Mar 17 09:01:28 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Reduce bit to match up the packaging standards +- Trim long descriptions +- Use pkgconfig to state dependencies + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fedfs-utils.spec ++++++ --- /var/tmp/diff_new_pack.3NGbY5/_old 2020-03-19 19:49:11.180145563 +0100 +++ /var/tmp/diff_new_pack.3NGbY5/_new 2020-03-19 19:49:11.180145563 +0100 @@ -1,7 +1,7 @@ # # spec file for package fedfs-utils # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,44 +12,46 @@ # 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/ # +%define libname libnfsjunct0 #Compat macro for new _fillupdir macro introduced in Nov 2017 %if ! %{defined _fillupdir} - %define _fillupdir /var/adm/fillup-templates + %define _fillupdir %{_localstatedir}/adm/fillup-templates %endif - Name: fedfs-utils -Url: http://wiki.linux-nfs.org/wiki/index.php/FedFsUtilsProject Version: 0.10.7 Release: 0 Summary: Utilities for mounting and managing FedFS -License: GPL-2.0 -Group: Productivity/Networking/System +License: GPL-2.0-only +URL: http://wiki.linux-nfs.org/wiki/index.php/FedFsUtilsProject +# http://git.linux-nfs.org/?p=cel/fedfs-utils.git;a=summary +Source: %{name}-%{version}.tar.gz +Source1: sysconfig.fedfs +Patch0: fedfs-utils-no-sunrpc.diff BuildRequires: automake BuildRequires: fdupes -BuildRequires: krb5-devel -BuildRequires: libattr-devel -BuildRequires: libcap-devel -BuildRequires: libconfig-devel -BuildRequires: libidn-devel -BuildRequires: libopenssl-devel -BuildRequires: libtirpc-devel BuildRequires: libtool -BuildRequires: liburiparser-devel -BuildRequires: libuuid-devel -BuildRequires: libxml2-devel BuildRequires: openldap2-devel -BuildRequires: python +BuildRequires: pkgconfig +BuildRequires: python-base +BuildRequires: python-rpm-macros BuildRequires: rpcsvc-proto-devel BuildRequires: shadow -BuildRequires: sqlite-devel - -Source: %{name}-%{version}.tar.gz -Source1: sysconfig.fedfs -Patch: fedfs-utils-no-sunrpc.diff +BuildRequires: pkgconfig(krb5) +BuildRequires: pkgconfig(libattr) +BuildRequires: pkgconfig(libcap) +BuildRequires: pkgconfig(libconfig) +BuildRequires: pkgconfig(libcrypto) +BuildRequires: pkgconfig(libidn) +BuildRequires: pkgconfig(libssl) +BuildRequires: pkgconfig(libtirpc) +BuildRequires: pkgconfig(liburiparser) +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(sqlite3) +BuildRequires: pkgconfig(uuid) %description RFC 5716 introduces the Federated File System (FedFS, for short). FedFS @@ -72,66 +74,15 @@ referrals. More on NFS version 4 referrals can be found in RFC 3530. FedFS may support other network file system protocols in the future. -%prep -%setup -q -n %{name}-%{version} -%patch -p0 - -%build -./autogen.sh -%define _sharedstatedir /var/lib -%configure --sysconfdir=/etc/fedfs -make %{?_smp_mflags} - -%install -make install DESTDIR=%{buildroot} -%fdupes %{buildroot}%{python_sitelib} -mkdir -p %{buildroot}%{_sharedstatedir}/fedfs -mkdir -p %{buildroot}%{_unitdir} -install -m 644 contrib/init/rpcfedfsd.service %{buildroot}%{_unitdir} -mkdir -p %{buildroot}%{_fillupdir} -install -m 644 %{S:1} %{buildroot}%{_fillupdir}/sysconfig.fedfs -ln -s %{_sbindir}/service $RPM_BUILD_ROOT%{_sbindir}/rcrpcfedfsd - -# Don't package static libs to encourage use of shared library. -rm -f %{buildroot}%{_libdir}/libnfsjunct.a -rm -f %{buildroot}%{_libdir}/libnfsjunct.la - %package common Summary: Common files for FedFS -Group: Productivity/Networking/System BuildArch: noarch %description common This package contains files common to all of the fedfs packages. -RFC 5716 introduces the Federated File System (FedFS, for short). FedFS -is an extensible standardized mechanism by which system administrators -construct a coherent namespace across multiple file servers using file -system referrals. - -A file system referral is like a symbolic link to another file system -share, but it is not visible to applications. It behaves like an -automounted directory where a new file system mount is done when an -application first accesses that directory. The arguments of the mount -operation are controlled by information returned by the file server. - -Today, file system referral mechanisms exist in several network file -system protocols. FedFS provides its namespace features by leveraging -referral mechanisms already built in to network file system protocols. -Thus no change to file system protocols or clients is required. - -Currently, the Linux FedFS implementation supports only NFS version 4 -referrals. More on NFS version 4 referrals can be found in RFC 3530. -FedFS may support other network file system protocols in the future. - -%files common -%defattr(-,root,root) -%doc COPYING README ChangeLog doc/ldap/fedfs.schema doc/ldap/fedfs-schema.ldif -%{_mandir}/man7/fedfs.7.* - %package client Summary: Utilities for mounting FedFS domains -Group: Productivity/Networking/System Requires: %{name}-common = %{version}-%{release} Requires: nfs-client @@ -139,169 +90,69 @@ This package contains the tools needed to mount a FedFS domain and act as a client. -RFC 5716 introduces the Federated File System (FedFS, for short). FedFS -is an extensible standardized mechanism by which system administrators -construct a coherent namespace across multiple file servers using file -system referrals. - -A file system referral is like a symbolic link to another file system -share, but it is not visible to applications. It behaves like an -automounted directory where a new file system mount is done when an -application first accesses that directory. The arguments of the mount -operation are controlled by information returned by the file server. - -Today, file system referral mechanisms exist in several network file -system protocols. FedFS provides its namespace features by leveraging -referral mechanisms already built in to network file system protocols. -Thus no change to file system protocols or clients is required. - -Currently, the Linux FedFS implementation supports only NFS version 4 -referrals. More on NFS version 4 referrals can be found in RFC 3530. -FedFS may support other network file system protocols in the future. - -%files client -%defattr(-,root,root) -/sbin/mount.fedfs -%{_sbindir}/fedfs-map-nfs4 -%{_mandir}/man8/mount.fedfs.8.* -%{_mandir}/man8/fedfs-map-nfs4.8.* - %package nsdbparams Summary: FedFS nsdbparams utility -Group: Productivity/Networking/System Requires: %{name}-common = %{version}-%{release} %description nsdbparams This package contains the nsdbparams utility, which is needed by both the fedfs-server and fedfs-admin packages. -RFC 5716 introduces the Federated File System (FedFS, for short). FedFS -is an extensible standardized mechanism by which system administrators -construct a coherent namespace across multiple file servers using file -system referrals. - -A file system referral is like a symbolic link to another file system -share, but it is not visible to applications. It behaves like an -automounted directory where a new file system mount is done when an -application first accesses that directory. The arguments of the mount -operation are controlled by information returned by the file server. - -Today, file system referral mechanisms exist in several network file -system protocols. FedFS provides its namespace features by leveraging -referral mechanisms already built in to network file system protocols. -Thus no change to file system protocols or clients is required. - -Currently, the Linux FedFS implementation supports only NFS version 4 -referrals. More on NFS version 4 referrals can be found in RFC 3530. -FedFS may support other network file system protocols in the future. - -%files nsdbparams -%defattr(-,root,root) -%{_sbindir}/nsdbparams -%{_mandir}/man8/nsdbparams.8.* -%{_mandir}/man7/nsdb-parameters.7.* - %package devel Summary: Development files and libraries for the nfs-plugin -Group: Development/Libraries/C and C++ +Requires: %{libname} = %{version}-%{release} Requires: %{name}-common = %{version}-%{release} -Requires: libnfsjunct0%{?_isa} = %{version}-%{release} %description devel This package contains the development files and libraries for the nfs-plugin. -RFC 5716 introduces the Federated File System (FedFS, for short). FedFS -is an extensible standardized mechanism by which system administrators -construct a coherent namespace across multiple file servers using file -system referrals. - -A file system referral is like a symbolic link to another file system -share, but it is not visible to applications. It behaves like an -automounted directory where a new file system mount is done when an -application first accesses that directory. The arguments of the mount -operation are controlled by information returned by the file server. - -Today, file system referral mechanisms exist in several network file -system protocols. FedFS provides its namespace features by leveraging -referral mechanisms already built in to network file system protocols. -Thus no change to file system protocols or clients is required. - -Currently, the Linux FedFS implementation supports only NFS version 4 -referrals. More on NFS version 4 referrals can be found in RFC 3530. -FedFS may support other network file system protocols in the future. - -%files devel -%defattr(-,root,root) -%{_includedir}/nfs-plugin.h -%{_libdir}/libnfsjunct.so - -%package -n libnfsjunct0 +%package -n %{libname} Summary: Runtime libraries for the nfs-plugin -Group: Productivity/Networking/System -%description -n libnfsjunct0 +%description -n %{libname} This package contains runtime libraries for the nfs-plugin. -RFC 5716 introduces the Federated File System (FedFS, for short). FedFS -is an extensible standardized mechanism by which system administrators -construct a coherent namespace across multiple file servers using file -system referrals. - -A file system referral is like a symbolic link to another file system -share, but it is not visible to applications. It behaves like an -automounted directory where a new file system mount is done when an -application first accesses that directory. The arguments of the mount -operation are controlled by information returned by the file server. - -Today, file system referral mechanisms exist in several network file -system protocols. FedFS provides its namespace features by leveraging -referral mechanisms already built in to network file system protocols. -Thus no change to file system protocols or clients is required. - -Currently, the Linux FedFS implementation supports only NFS version 4 -referrals. More on NFS version 4 referrals can be found in RFC 3530. -FedFS may support other network file system protocols in the future. - -%post -n libnfsjunct0 -p /sbin/ldconfig - -%postun -n libnfsjunct0 -p /sbin/ldconfig - -%files -n libnfsjunct0 -%defattr(-,root,root) -# We need to include this in the lib package because it is -# dlopen()ed by the junction support code in nfs-utils. -%{_libdir}/libnfsjunct.so.* - %package server Summary: Utilities for serving FedFS domains -Group: Productivity/Networking/System +Requires: %{libname} = %{version}-%{release} Requires: %{name}-common = %{version}-%{release} -Requires: %{name}-nsdbparams%{?_isa} = %{version}-%{release} -Requires: libnfsjunct0%{?_isa} = %{version}-%{release} +Requires: %{name}-nsdbparams = %{version}-%{release} Requires: nfs-kernel-server %description server This package contains the tools needed to act as a FedFS server. -RFC 5716 introduces the Federated File System (FedFS, for short). FedFS -is an extensible standardized mechanism by which system administrators -construct a coherent namespace across multiple file servers using file -system referrals. +%package admin +Summary: Utilities for administering FedFS domains +Requires: %{name}-common = %{version}-%{release} +Requires: %{name}-nsdbparams = %{version}-%{release} -A file system referral is like a symbolic link to another file system -share, but it is not visible to applications. It behaves like an -automounted directory where a new file system mount is done when an -application first accesses that directory. The arguments of the mount -operation are controlled by information returned by the file server. +%description admin +This package contains the tools needed to manage a FedFS domain. -Today, file system referral mechanisms exist in several network file -system protocols. FedFS provides its namespace features by leveraging -referral mechanisms already built in to network file system protocols. -Thus no change to file system protocols or clients is required. +%prep +%setup -q +%patch0 -Currently, the Linux FedFS implementation supports only NFS version 4 -referrals. More on NFS version 4 referrals can be found in RFC 3530. -FedFS may support other network file system protocols in the future. +# disable -Werror +sed -i -e 's:-Werror\ ::g' configure.ac + +%build +autoreconf -fvi +%define _sharedstatedir %{_localstatedir}/lib +%configure \ + --sysconfdir=%{_sysconfdir}/fedfs \ + --disable-static +%make_build + +%install +%make_install +%fdupes %{buildroot}%{python2_sitelib} +mkdir -p %{buildroot}%{_sharedstatedir}/fedfs +install -Dm 644 contrib/init/rpcfedfsd.service %{buildroot}%{_unitdir}/rpcfedfsd.service +install -Dm 644 %{SOURCE1} %{buildroot}%{_fillupdir}/sysconfig.fedfs +ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcrpcfedfsd +find %{buildroot} -type f -name "*.la" -delete -print %pre server getent group fedfs >/dev/null || groupadd -r fedfs @@ -321,53 +172,48 @@ %postun server %service_del_postun rpcfedfsd.service +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig + +%files common +%license COPYING +%doc README ChangeLog doc/ldap/fedfs.schema doc/ldap/fedfs-schema.ldif +%{_mandir}/man7/fedfs.7%{?ext_man} + +%files client +/sbin/mount.fedfs +%{_sbindir}/fedfs-map-nfs4 +%{_mandir}/man8/mount.fedfs.8%{?ext_man} +%{_mandir}/man8/fedfs-map-nfs4.8%{?ext_man} + +%files nsdbparams +%{_sbindir}/nsdbparams +%{_mandir}/man8/nsdbparams.8%{?ext_man} +%{_mandir}/man7/nsdb-parameters.7%{?ext_man} + +%files devel +%{_includedir}/nfs-plugin.h +%{_libdir}/libnfsjunct.so + +%files -n %{libname} +%{_libdir}/libnfsjunct.so.* + %files server -%defattr(-,root,root) %dir %{_sharedstatedir}/fedfs %{_sbindir}/nfsref %{_sbindir}/rpc.fedfsd %{_sbindir}/rcrpcfedfsd -%dir /etc/fedfs -%config /etc/fedfs/access.conf -%{_mandir}/man8/rpc.fedfsd.8.* -%{_mandir}/man8/nfsref.8.* +%dir %{_sysconfdir}/fedfs +%config %{_sysconfdir}/fedfs/access.conf +%{_mandir}/man8/rpc.fedfsd.8%{?ext_man} +%{_mandir}/man8/nfsref.8%{?ext_man} %{_unitdir}/rpcfedfsd.service %{_fillupdir}/sysconfig.fedfs -%package admin -Summary: Utilities for administering FedFS domains -Group: Productivity/Networking/System -Requires: %{name}-common = %{version}-%{release} -Requires: %{name}-nsdbparams%{?_isa} = %{version}-%{release} - -%description admin -This package contains the tools needed to manage a FedFS domain. - -RFC 5716 introduces the Federated File System (FedFS, for short). FedFS -is an extensible standardized mechanism by which system administrators -construct a coherent namespace across multiple file servers using file -system referrals. - -A file system referral is like a symbolic link to another file system -share, but it is not visible to applications. It behaves like an -automounted directory where a new file system mount is done when an -application first accesses that directory. The arguments of the mount -operation are controlled by information returned by the file server. - -Today, file system referral mechanisms exist in several network file -system protocols. FedFS provides its namespace features by leveraging -referral mechanisms already built in to network file system protocols. -Thus no change to file system protocols or clients is required. - -Currently, the Linux FedFS implementation supports only NFS version 4 -referrals. More on NFS version 4 referrals can be found in RFC 3530. -FedFS may support other network file system protocols in the future. - %files admin -%defattr(-,root,root) %{_bindir}/fedfs-domainroot %{_bindir}/nsdb-jumpstart -%{python_sitelib}/PyFedfs/ +%{python2_sitelib}/PyFedfs/ %{_sbindir}/fedfs-create-junction %{_sbindir}/fedfs-create-replication %{_sbindir}/fedfs-delete-junction @@ -379,17 +225,17 @@ %{_sbindir}/fedfs-null %{_sbindir}/fedfs-set-nsdb-params %{_sbindir}/nsdb-* -%{_mandir}/man8/fedfs-create-junction.8.* -%{_mandir}/man8/fedfs-create-replication.8.* -%{_mandir}/man8/fedfs-delete-junction.8.* -%{_mandir}/man8/fedfs-delete-replication.8.* -%{_mandir}/man8/fedfs-get-limited-nsdb-params.8.* -%{_mandir}/man8/fedfs-get-nsdb-params.8.* -%{_mandir}/man8/fedfs-lookup-junction.8.* -%{_mandir}/man8/fedfs-lookup-replication.8.* -%{_mandir}/man8/fedfs-null.8.* -%{_mandir}/man8/fedfs-set-nsdb-params.8.* -%{_mandir}/man8/fedfs-domainroot.8.* +%{_mandir}/man8/fedfs-create-junction.8%{?ext_man} +%{_mandir}/man8/fedfs-create-replication.8%{?ext_man} +%{_mandir}/man8/fedfs-delete-junction.8%{?ext_man} +%{_mandir}/man8/fedfs-delete-replication.8%{?ext_man} +%{_mandir}/man8/fedfs-get-limited-nsdb-params.8%{?ext_man} +%{_mandir}/man8/fedfs-get-nsdb-params.8%{?ext_man} +%{_mandir}/man8/fedfs-lookup-junction.8%{?ext_man} +%{_mandir}/man8/fedfs-lookup-replication.8%{?ext_man} +%{_mandir}/man8/fedfs-null.8%{?ext_man} +%{_mandir}/man8/fedfs-set-nsdb-params.8%{?ext_man} +%{_mandir}/man8/fedfs-domainroot.8%{?ext_man} %{_mandir}/man8/nsdb-* %changelog
