[libextractor] Fix up macros and cleanup spec
Peter Robinson
pbrobinson at fedoraproject.org
Sat Oct 20 16:12:40 UTC 2012
commit 27ad7e510efce20347403c38686afae0a32cbdd9
Author: Peter Robinson <pbrobinson at gmail.com>
Date: Sat Oct 20 17:12:30 2012 +0100
Fix up macros and cleanup spec
libextractor.spec | 30 ++++++++++++------------------
1 files changed, 12 insertions(+), 18 deletions(-)
---
diff --git a/libextractor.spec b/libextractor.spec
index 3d00ee4..f3fd918 100644
--- a/libextractor.spec
+++ b/libextractor.spec
@@ -11,7 +11,7 @@
Name: libextractor
Version: 0.6.3
-Release: %release_func 1805
+Release: %release_func 1805.1
Summary: Simple library for keyword extraction
Group: System Environment/Libraries
@@ -20,7 +20,6 @@ URL: http://www.gnu.org/software/libextractor
Source0: http://ftp.gnu.org/gnu/libextractor/%name-%version.tar.gz
Source1: http://ftp.gnu.org/gnu/libextractor/%name-%version.tar.gz.sig
Source10: README.fedora
-BuildRoot: %_tmppath/%name-%version-%release-root
BuildRequires: gettext zzuf
BuildRequires: libtool-ltdl-devel
@@ -155,7 +154,6 @@ make # %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
@@ -202,10 +200,6 @@ export LIBEXTRACTOR_PREFIX=$RPM_BUILD_ROOT%{_libdir}/libextractor
make check
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
%post
/sbin/ldconfig
/sbin/install-info --info-dir %_infodir %_infodir/extractor.info || :
@@ -217,27 +211,27 @@ test $1 != 0 || /sbin/install-info --info-dir %_infodir --delete %_infodir/extra
%files -f libextractor.lang
-%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS README* TODO
-%_bindir/*
-%_libdir/*.so.*
-%_infodir/*info*
-%_mandir/man1/*
+%{_bindir}/*
+%{_libdir}/*.so.*
+%{_infodir}/*info*
+%{_mandir}/man1/*
%dir %plugindir
%files plugins
%files plugins-base -f filelists.base
%files devel
-%defattr(-,root,root,-)
-%doc
-%_includedir/*
-%_libdir/*.so
-%_mandir/man3/*
-%_libdir/pkgconfig/*
+%{_includedir}/*
+%{_libdir}/*.so
+%{_mandir}/man3/*
+%{_libdir}/pkgconfig/*
%changelog
+* Sat Oct 20 2012 Peter Robinson <pbrobinson at fedoraproject.org> 0.6.3-1805.1
+- Fix up macros and cleanup spec
+
* Sun Jul 22 2012 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.6.3-1805
- fixed arm build issue by using wildcard in ld-linux detection
More information about the scm-commits
mailing list