rpms/autogen/FC-5 autogen.spec,1.4,1.5

Paul F. Johnson (pfj) fedora-extras-commits at redhat.com
Thu Nov 2 21:14:59 UTC 2006


Author: pfj

Update of /cvs/extras/rpms/autogen/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32707/FC-5

Modified Files:
	autogen.spec 
Log Message:
auto-import autogen-5.8.7-3 on branch FC-5 from autogen-5.8.7-3.src.rpm


Index: autogen.spec
===================================================================
RCS file: /cvs/extras/rpms/autogen/FC-5/autogen.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- autogen.spec	23 Oct 2006 21:28:47 -0000	1.4
+++ autogen.spec	2 Nov 2006 21:14:29 -0000	1.5
@@ -1,7 +1,7 @@
 Summary: Sourcecode autogenerator
 Name: autogen
 Version: 5.8.7
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPL
 Group: Development/Tools
 Source: http://kent.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2
@@ -13,6 +13,9 @@
 Requires(preun): /sbin/install-info %{_sbindir}/alternatives
 Requires(post): /sbin/install-info %{_sbindir}/alternatives
 
+Obsoletes: libopts-devel
+Obsoletes: libopts
+
 %description
 AutoGen is a tool designed to simplify the creation and maintenance of 
 programes that contain large amounts of repetitious text. It is especially
@@ -32,9 +35,10 @@
 chmod 0644 COPYING
 
 %build
-%configure --disable-autoopts
+%configure
 #find -name Makefile -exec sed -i -e 's/-Werror//' {} \;
-make LIBTOOL=%{_bindir}/libtool
+make LIBTOOL=%{_bindir}/libtool %{?_smp_mflags}
+
 # no smp flags as it falls over during build
 
 %install
@@ -47,9 +51,7 @@
 mv %{buildroot}/%{_bindir}/columns %{buildroot}/%{_bindir}/columns.autogen
 mv %{buildroot}/%{_bindir}/getdefs %{buildroot}/%{_bindir}/getdefs.autogen
 mkdir -p %{buildroot}/%{_sysconfdir}/alternatives
-rm -f %{buildroot}/%{_datadir}/autogen/libopts-27.4.2.tar.gz
-rm -f %{buildroot}/%{_libdir}/libopts*
-rm -f %{buildroot}/%{_datadir}/aclocal/liboptschk.m4
+rm -f %{buildroot}/%{_datadir}/autogen/libopts*.tar.gz
 
 %check
 make check
@@ -106,20 +108,25 @@
 %{_infodir}/autogen.info*
 %{_bindir}/xml2ag
 %{_libdir}/libguileopts.so.0*
+%{_libdir}/libopts.so.*
 
 %files devel
 %defattr(-,root,root)
 %{_datadir}/aclocal/autoopts.m4
+%{_datadir}/aclocal/liboptschk.m4
 %{_libdir}/pkgconfig/autoopts.pc
 %exclude %{_mandir}/man3/*
 %{_mandir}/man1/autoopts-config*
 %exclude %{_includedir}/autoopts/
 %{_bindir}/autoopts-config
 %{_libdir}/libguileopts.so
+%{_libdir}/libopts.so
+%{_includedir}/autoopts
 
 %changelog
-* Mon Oct 23 2006 Paul F. Johnson <paul at all-the-johnsons.co.uk> 5.8.7-2
-- rebuild for newer libopts
+* Thu Nov 02 2006 Paul F. Johnson <paul at all-the-johnsons.co.uk> 5.8.7-3
+- obsoletes libopts
+- now links to it's own version of libopts shipped with the tarball
 
 * Fri Oct 21 2006 Paul F. Johnson <paul at all-the-johnsons.co.uk> 5.8.7-1
 - bump to new version




More information about the fedora-extras-commits mailing list