Version 0.9 release.
authorRichard Jones <rjones@redhat.com>
Fri, 6 Mar 2009 13:26:53 +0000 (13:26 +0000)
committerRichard Jones <rjones@redhat.com>
Fri, 6 Mar 2009 13:26:53 +0000 (13:26 +0000)
.gitignore
README
auto-buildrequires.spec.in
configure.ac

index 988f998..0b32ac0 100644 (file)
@@ -1,6 +1,9 @@
 *~
+*.o
+*.so
 .deps
 .libs
+INSTALL
 Makefile
 Makefile.in
 aclocal.m4
@@ -17,6 +20,7 @@ config.h.in
 config.log
 config.status
 configure
+depcomp
 install-sh
 missing
 stamp-h1
diff --git a/README b/README
index e69de29..4be546c 100644 (file)
--- a/README
+++ b/README
@@ -0,0 +1,28 @@
+Auto-BuildRequires is a simple set of scripts for automatically
+suggesting BuildRequires lines for programs.
+
+Written by Richard W.M. Jones, rjones@redhat.com,
+http://et.redhat.com/~rjones/
+http://et.redhat.com/~rjones/auto-buildrequires/
+
+Usage:
+
+  auto-br-rpmbuild -ba foo.spec
+
+If your build command is more complex, try:
+
+  auto-br [command ...]
+
+
+Developers
+----------------------------------------------------------------------
+
+The basic "magic" is a C LD_PRELOAD module, auto-buildrequires-preload.c,
+which intercepts some system calls to determine which files the build
+is looking at.  Those get logged to a simple text file.
+
+The Perl analysis script, auto-br-analyze.pl.in, runs afterwards on
+the logfile, and uses rpm to find out which packages those files
+belong to.  Those are printed out as the list of BuildRequires.
+
+A shell script, auto-br.sh.in, holds the whole thing together.
index 7b5e9a7..1f1f007 100644 (file)
@@ -3,7 +3,7 @@
 Summary:     Work out BuildRequires for rpmbuild automatically
 Name:        auto-buildrequires
 Version:     @VERSION@
-Release:     2
+Release:     1
 License:     GPLv2+
 Group:       Development/Tools
 URL:         http://et.redhat.com/~rjones/auto-buildrequires/
@@ -44,5 +44,8 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Mar  6 2009 Richard Jones <rjones@redhat.com> - 0.9-1
+- Imported to git and rebuilt.
+
 * Thu Nov  6 2008 Richard Jones <rjones@redhat.com> - 0.1-2
 - Initial build.
index e718416..acd8fc0 100644 (file)
@@ -16,7 +16,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-AC_INIT(auto-buildrequires,0.1)
+AC_INIT(auto-buildrequires,0.9)
 AM_INIT_AUTOMAKE
 
 AC_PROG_INSTALL
@@ -24,7 +24,7 @@ AC_PROG_CC
 AM_PROG_CC_C_O
 
 AC_CHECK_PROG([RPM],[rpm],[rpm])
-AC_CHECK_PROG([RPMBUILD],[rpmbuild],[rpm])
+AC_CHECK_PROG([RPMBUILD],[rpmbuild],[rpmbuild])
 
 # XXX Should check for String::ShellQuote and File::Temp modules.
 AC_PATH_PROG([PERL],[perl],[/usr/bin/perl])