Hello community, here is the log from the commit of package attr for openSUSE:Factory checked in at 2018-09-03 10:32:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/attr (Old) and /work/SRC/openSUSE:Factory/.attr.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "attr" Mon Sep 3 10:32:30 2018 rev:40 rq:631597 version:2.4.48 Changes: -------- --- /work/SRC/openSUSE:Factory/attr/attr.changes 2018-03-24 16:06:28.618754170 +0100 +++ /work/SRC/openSUSE:Factory/.attr.new/attr.changes 2018-09-03 10:32:33.916277374 +0200 @@ -1,0 +2,22 @@ +Sat Aug 25 18:33:52 UTC 2018 - jengelh@inai.de + +- Replace unspecific boilerplate summary from years ago. + +------------------------------------------------------------------- +Mon Aug 13 09:11:11 UTC 2018 - tchvatal@suse.com + +- Remove obsolete Obsolete lines +- Drop static subpackage, nothing in TW depends on it Deb/RH do not + provide it either +- Rely on simple upstream make install target +- Run tests +- Update to 2.4.48: + * Provide default xattr.conf + * Update buildsystem to reflect current autotools state + * Small test updates + * Remove various deprecated sections like attr/attr.h +- Update keyring, Mike Frysinger released this version +- Add patch to have tests working with newer perls: + * 0001-attr-2.4.48-test-suite-perl.patch + +------------------------------------------------------------------- Old: ---- attr-2.4.47.src.tar.gz attr-2.4.47.src.tar.gz.sig xattr.conf New: ---- 0001-attr-2.4.48-test-suite-perl.patch attr-2.4.48.tar.gz attr-2.4.48.tar.gz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ attr.spec ++++++ --- /var/tmp/diff_new_pack.e7HHEk/_old 2018-09-03 10:32:34.460278772 +0200 +++ /var/tmp/diff_new_pack.e7HHEk/_new 2018-09-03 10:32:34.464278782 +0200 @@ -16,25 +16,20 @@ # -Name: attr %define lname libattr1 +Name: attr +Version: 2.4.48 +Release: 0 Summary: Commands for Manipulating Extended Attributes License: GPL-2.0-or-later AND LGPL-2.1-or-later Group: System/Filesystems -Version: 2.4.47 -Release: 0 -Url: http://download.savannah.gnu.org/releases-noredirect/attr/ - -#Git-Web: http://git.savannah.gnu.org/cgit/attr.git/ -#Git-Clone: git://git.sv.gnu.org/attr -Source: http://download.savannah.gnu.org/releases-noredirect/attr/%{name}-%{version}.src.tar.gz -Source2: http://download.savannah.gnu.org/releases-noredirect/attr/%{name}-%{version}.src.tar.gz.sig -Source3: %name.keyring -Source4: xattr.conf -Source5: baselibs.conf -#Patch0: builddefs.in.diff -BuildRoot: %{_tmppath}/%{name}-%{version}-build -#BuildRequires: gpg-offline +URL: https://savannah.nongnu.org/projects/attr/ +Source: https://download-mirror.savannah.gnu.org/releases/attr/attr-%{version}.tar.gz +Source2: https://download-mirror.savannah.gnu.org/releases/attr/attr-%{version}.tar.gz.sig +Source3: %{name}.keyring +Source99: baselibs.conf +Patch0: 0001-attr-2.4.48-test-suite-perl.patch +BuildRequires: pkgconfig Conflicts: xfsdump < 2.0.0 %description @@ -43,33 +38,23 @@ is also provided, which is largely compatible with the SGI IRIX tool of the same name. -%package -n %lname +%package -n %{lname} Summary: A dynamic library for filesystem extended attribute support -# bug437293 Group: System/Libraries -%ifarch ppc64 -Obsoletes: libattr-64bit -%endif -# Added for 12.1 -Obsoletes: libattr < %version-%release -Provides: libattr = %version-%release +Obsoletes: libattr < %{version}-%{release} +Provides: libattr = %{version}-%{release} -%description -n %lname +%description -n %{lname} This package contains the libattr.so dynamic library, which contains the extended attribute library functions. %package -n libattr-devel -Summary: Include Files and Libraries mandatory for Development +Summary: Header files for libattr Group: Development/Libraries/C and C++ -Provides: attr-devel = %version-%release -Obsoletes: attr-devel < %version-%release -# bug437293 -%ifarch ppc64 -Obsoletes: libattr-devel-64bit -%endif -# -Requires: %lname = %version +Requires: %{lname} = %{version} Requires: glibc-devel +Provides: attr-devel = %{version}-%{release} +Obsoletes: attr-devel < %{version}-%{release} %description -n libattr-devel This package contains the libraries and header files needed to develop @@ -77,71 +62,47 @@ documented system call API is the recommended interface, but an SGI IRIX compatibility interface is also provided. -%package -n libattr-devel-static -Summary: Include Files and Libraries mandatory for Development -Group: Development/Libraries/C and C++ -Provides: libattr-devel:%{_libdir}/libattr.a -Requires: libattr-devel = %version - -%description -n libattr-devel-static -This package contains the static library of libattr which is needed to develop -statically linked programs which make use of extended attributes. - %prep %setup -q +%patch0 -p1 %build -export OPTIMIZER="$RPM_OPT_FLAGS -fPIC" -export DEBUG=-DNDEBUG -%configure --with-pic --enable-static -%{__make} %{?_smp_mflags} +%configure \ + --disable-static \ + --disable-silent-rules +make %{?_smp_mflags} %install -b="%buildroot" -make install install-lib install-dev DESTDIR="$b" PKG_DOC_DIR="%_docdir/%name" - -mkdir -p "$b/%_lib/" -mv "$b/%_libdir"/libattr.so.* "$b/%_lib/" -t=$(readlink "$b/%_libdir/libattr.so") -ln -sf "/%_lib/$t" "$b/%_libdir/libattr.so" -rm -f "$b/%_libdir"/*.la -rm -fv $RPM_BUILD_ROOT%{_mandir}/man2/*xattr.2* -rm $b%{_mandir}/man5/attr.5 -rm -fv $b%_defaultdocdir/attr/COPYING* -install -d -m 755 $RPM_BUILD_ROOT/%{_sysconfdir} -install -m 644 %_sourcedir/xattr.conf $RPM_BUILD_ROOT/%{_sysconfdir} -%find_lang %name +%make_install +# remove libtool archives +find %{buildroot} -type f -name "*.la" -delete -print +# handle docs on our own +rm -rf %{buildroot}/%{_datadir}/doc/%{name} +%find_lang %{name} -%post -n %lname -p /sbin/ldconfig +%check +make %{?_smp_mflags} check -%postun -n %lname -p /sbin/ldconfig +%post -n %{lname} -p /sbin/ldconfig +%postun -n %{lname} -p /sbin/ldconfig %files -f %{name}.lang -%defattr (-,root,root) -%license doc/COPYING -%dir %_defaultdocdir/attr -%_defaultdocdir/attr/README -%_defaultdocdir/attr/CHANGES.gz -%_defaultdocdir/attr/PORTING -%_mandir/man1/*.1* -%_bindir/attr -%_bindir/getfattr -%_bindir/setfattr +%license doc/COPYING* +%doc doc/CHANGES doc/PORTING +%{_mandir}/man1/*.1%{?ext_man} +%{_bindir}/attr +%{_bindir}/getfattr +%{_bindir}/setfattr %files -n libattr-devel -%defattr(-,root,root) -%_includedir/attr/ -%_libdir/libattr.so -%_mandir/man3/*.3* - -%files -n libattr-devel-static -%defattr(-,root,root) -%{_libdir}/libattr.a - -%files -n %lname -%defattr (-,root,root) -%license doc/COPYING.LGPL -/%{_lib}/libattr.so.1* +%{_includedir}/attr/ +%{_libdir}/pkgconfig/libattr.pc +%{_libdir}/libattr.so +%{_mandir}/man3/*.3%{?ext_man} + +%files -n %{lname} +%license doc/COPYING* +%{_libdir}/libattr.so.1* %config %{_sysconfdir}/xattr.conf %changelog ++++++ 0001-attr-2.4.48-test-suite-perl.patch ++++++
From 46baedf88fe22abafa3f2341b2c1bcb4764ce389 Mon Sep 17 00:00:00 2001 From: Troy Dawson
Date: Fri, 21 Jul 2017 14:05:47 -0700 Subject: [PATCH] attr: escape left brace in a regex in test/run
... to fix test-suite failure with perl-5.26.0
Bug: https://bugzilla.redhat.com/1473853
Signed-off-by: Kamil Dudka