Drop useless %defattr

This commit is contained in:
Adam Jackson 2018-07-05 11:36:25 -04:00
parent fe26a93b52
commit 721e30e640
2 changed files with 6 additions and 10 deletions

View File

@ -1,12 +1,12 @@
Summary: X.Org X11 libXft runtime library
Name: libXft
Version: 2.3.2
Release: 9%{?dist}
Release: 10%{?dist}
License: MIT
Group: System Environment/Libraries
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: autoconf automake libtool
@ -41,11 +41,6 @@ rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
# FIXME: There's no real good reason to ship these anymore, as pkg-config
# is the official way to detect flags, etc. now.
rm -f $RPM_BUILD_ROOT%{_bindir}/xft-config
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/xft-config*
# We intentionally don't ship *.la files
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
@ -53,12 +48,10 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%ldconfig_postun
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING README ChangeLog
%{_libdir}/libXft.so.2*
%files devel
%defattr(-,root,root,-)
#%{_bindir}/xft-config
%dir %{_includedir}/X11/Xft
%{_includedir}/X11/Xft/Xft.h
@ -70,6 +63,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%{_mandir}/man3/Xft.3*
%changelog
* Thu Jul 05 2018 Adam Jackson <ajax@redhat.com> - 2.3.2-10
- Drop useless %%defattr
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 2.3.2-9
- Use ldconfig scriptlet macros

View File

@ -1 +1 @@
331b3a2a3a1a78b5b44cfbd43f86fcfe libXft-2.3.2.tar.bz2
SHA512 (libXft-2.3.2.tar.bz2) = eb2e0c46b4434198690a3ca2b613df14ad599c860b47d10a1e8efe3b4e812a78460f9f414eaf89db21d605613a4e18324dcb8a22928609c6bc15178330a05398