Spec clean up for recent rpmbuild
None of this is needed with the version of rpm in current Fedora releases.
This commit is contained in:
parent
bffac070bf
commit
945f2b0676
@ -7,7 +7,6 @@ Group: System Environment/Libraries
|
|||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://trac.yorba.org/wiki/gexiv2
|
URL: http://trac.yorba.org/wiki/gexiv2
|
||||||
Source0: http://yorba.org/download/gexiv2/0.4/%{name}-%{version}.tar.bz2
|
Source0: http://yorba.org/download/gexiv2/0.4/%{name}-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
BuildRequires: exiv2-devel gobject-introspection-devel libtool
|
BuildRequires: exiv2-devel gobject-introspection-devel libtool
|
||||||
|
|
||||||
@ -41,14 +40,10 @@ LDFLAGS="--Wl,-z,relro"; export LDFLAGS
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT LIB=%{_lib}
|
make install DESTDIR=$RPM_BUILD_ROOT LIB=%{_lib}
|
||||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||||
find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -56,12 +51,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc AUTHORS COPYING MAINTAINERS
|
%doc AUTHORS COPYING MAINTAINERS
|
||||||
%{_libdir}/libgexiv2.so.*
|
%{_libdir}/libgexiv2.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_includedir}/gexiv2/
|
%{_includedir}/gexiv2/
|
||||||
%{_libdir}/libgexiv2.so
|
%{_libdir}/libgexiv2.so
|
||||||
%{_libdir}/pkgconfig/gexiv2.pc
|
%{_libdir}/pkgconfig/gexiv2.pc
|
||||||
|
Loading…
Reference in New Issue
Block a user