Drop useless %defattr

This commit is contained in:
Adam Jackson 2018-07-05 12:03:47 -04:00
parent 91edf0822e
commit 8f33f84619

View File

@ -1,12 +1,12 @@
Summary: X.Org X11 libXpm runtime library Summary: X.Org X11 libXpm runtime library
Name: libXpm Name: libXpm
Version: 3.5.12 Version: 3.5.12
Release: 6%{?dist} Release: 7%{?dist}
License: MIT License: MIT
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.x.org URL: http://www.x.org
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: xorg-x11-util-macros BuildRequires: xorg-x11-util-macros
BuildRequires: autoconf automake libtool BuildRequires: autoconf automake libtool
@ -44,13 +44,11 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%ldconfig_postun %ldconfig_postun
%files %files
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog %doc AUTHORS COPYING ChangeLog
%{_libdir}/libXpm.so.4 %{_libdir}/libXpm.so.4
%{_libdir}/libXpm.so.4.11.0 %{_libdir}/libXpm.so.4.11.0
%files devel %files devel
%defattr(-,root,root,-)
%{_bindir}/cxpm %{_bindir}/cxpm
%{_bindir}/sxpm %{_bindir}/sxpm
%{_includedir}/X11/xpm.h %{_includedir}/X11/xpm.h
@ -61,6 +59,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
#%{_mandir}/man1/*.1x* #%{_mandir}/man1/*.1x*
%changelog %changelog
* Thu Jul 05 2018 Adam Jackson <ajax@redhat.com> - 3.5.12-7
- Drop useless %%defattr
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 3.5.12-6 * Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 3.5.12-6
- Use ldconfig scriptlet macros - Use ldconfig scriptlet macros