SHA256
1
0
forked from pool/attr

Accepting request 589225 from Base:System

OBS-URL: https://build.opensuse.org/request/show/589225
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/attr?expand=0&rev=39
This commit is contained in:
Dominique Leuenberger 2018-03-24 15:06:27 +00:00 committed by Git OBS Bridge
commit 4b92d9d80f
2 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 20 13:10:52 CET 2018 - kukuk@suse.de
- Use %license instead of %doc [bsc#1082318]
-------------------------------------------------------------------
Mon May 11 07:33:07 UTC 2015 - pgajdos@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package attr
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@ -19,7 +19,7 @@
Name: attr
%define lname libattr1
Summary: Commands for Manipulating Extended Attributes
License: GPL-2.0+ and LGPL-2.1+
License: GPL-2.0-or-later AND LGPL-2.1-or-later
Group: System/Filesystems
Version: 2.4.47
Release: 0
@ -45,8 +45,8 @@ the same name.
%package -n %lname
Summary: A dynamic library for filesystem extended attribute support
Group: System/Libraries
# bug437293
Group: System/Libraries
%ifarch ppc64
Obsoletes: libattr-64bit
%endif
@ -107,6 +107,7 @@ 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
@ -117,10 +118,10 @@ install -m 644 %_sourcedir/xattr.conf $RPM_BUILD_ROOT/%{_sysconfdir}
%files -f %{name}.lang
%defattr (-,root,root)
%license doc/COPYING
%dir %_defaultdocdir/attr
%_defaultdocdir/attr/README
%_defaultdocdir/attr/CHANGES.gz
%_defaultdocdir/attr/COPYING
%_defaultdocdir/attr/PORTING
%_mandir/man1/*.1*
%_bindir/attr
@ -139,9 +140,8 @@ install -m 644 %_sourcedir/xattr.conf $RPM_BUILD_ROOT/%{_sysconfdir}
%files -n %lname
%defattr (-,root,root)
%license doc/COPYING.LGPL
/%{_lib}/libattr.so.1*
%config %{_sysconfdir}/xattr.conf
%dir %_defaultdocdir/attr
%_defaultdocdir/attr/COPYING.LGPL
%changelog