Drop useless %defattr

This commit is contained in:
Adam Jackson 2018-07-05 11:20:04 -04:00
parent 2dc8eafae8
commit d1f5dfaf5b
2 changed files with 6 additions and 5 deletions

View File

@ -3,12 +3,12 @@
Summary: X Athena Widget Set Summary: X Athena Widget Set
Name: libXaw Name: libXaw
Version: 1.0.13 Version: 1.0.13
Release: 9%{?dist} Release: 10%{?dist}
License: MIT License: MIT
URL: http://www.x.org URL: http://www.x.org
Group: System Environment/Libraries Group: System Environment/Libraries
Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2 Source0: https://www.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
BuildRequires: autoconf automake libtool BuildRequires: autoconf automake libtool
BuildRequires: pkgconfig(xproto) pkgconfig(x11) pkgconfig(xt) BuildRequires: pkgconfig(xproto) pkgconfig(x11) pkgconfig(xt)
@ -52,7 +52,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%ldconfig_postun %ldconfig_postun
%files %files
%defattr(-,root,root,-)
%dir %{_pkgdocdir} %dir %{_pkgdocdir}
%{_pkgdocdir}/ChangeLog %{_pkgdocdir}/ChangeLog
%{_pkgdocdir}/COPYING %{_pkgdocdir}/COPYING
@ -62,7 +61,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%{_libdir}/libXaw7.so.7.0.0 %{_libdir}/libXaw7.so.7.0.0
%files devel %files devel
%defattr(-,root,root,-)
%dir %{_includedir}/X11/Xaw %dir %{_includedir}/X11/Xaw
%{_includedir}/X11/Xaw/*.h %{_includedir}/X11/Xaw/*.h
# FIXME: Is this C file really supposed to be here? # FIXME: Is this C file really supposed to be here?
@ -76,6 +74,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
#{_pkgdocdir}/%{name}.txt #{_pkgdocdir}/%{name}.txt
%changelog %changelog
* Thu Jul 05 2018 Adam Jackson <ajax@redhat.com> - 1.0.13-10
- Drop useless %%defattr
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 1.0.13-9 * Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 1.0.13-9
- Use ldconfig scriptlet macros - Use ldconfig scriptlet macros

View File

@ -1 +1 @@
e5e06eb14a608b58746bdd1c0bd7b8e3 libXaw-1.0.13.tar.bz2 SHA512 (libXaw-1.0.13.tar.bz2) = cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e