Drop useless %defattr
This commit is contained in:
parent
fe26a93b52
commit
721e30e640
14
libXft.spec
14
libXft.spec
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user