Hello community,

here is the log from the commit of package unifdef for openSUSE:Factory checked 
in at 2012-01-26 14:08:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/unifdef (Old)
 and      /work/SRC/openSUSE:Factory/.unifdef.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "unifdef", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/unifdef/unifdef.changes  2011-09-23 
12:49:27.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.unifdef.new/unifdef.changes     2012-01-26 
14:08:50.000000000 +0100
@@ -1,0 +2,12 @@
+Mon Jan 16 16:02:21 UTC 2012 - [email protected]
+
+- update to 2.6 using the latest fork of the original NetBSD
+  project
+- license changed to BSD-2-Clause
+
+-------------------------------------------------------------------
+Fri Dec  2 15:49:37 UTC 2011 - [email protected]
+
+- add automake as buildrequire to avoid implicit dependency
+
+-------------------------------------------------------------------

Old:
----
  Makefile.am
  configure.ac
  unifdef-1.0.tar.gz
  unifdef-codecleanup.diff

New:
----
  unifdef-2.6.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ unifdef.spec ++++++
--- /var/tmp/diff_new_pack.m91IS1/_old  2012-01-26 14:08:51.000000000 +0100
+++ /var/tmp/diff_new_pack.m91IS1/_new  2012-01-26 14:08:51.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package unifdef (Version 1.0)
+# spec file for package unifdef
 #
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,19 +15,16 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:           unifdef
-License:        BSD 3-Clause
-Group:          Development/Libraries/C and C++
 Summary:        Removes ifdefs from C files
-Version:        1.0
-Release:        142
-Source:         http://www.cs.cmu.edu/~ajw/dist/unifdef-1.0.tar.gz
-Patch:          unifdef-codecleanup.diff
-Source1:        Makefile.am
-Source2:        configure.ac
+License:        BSD-2-Clause
+Group:          Development/Libraries/C and C++
+Version:        2.6
+Release:        0
+Url:            http://dotat.at/prog/unifdef/
+Source:         %{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -41,23 +38,26 @@
 
 %prep
 %setup -q
-rm -f Makefile unifdef *.o
-cp %{S:1} %{S:2} .
-%patch
+sed -i Makefile \
+       -e 's,^\(prefix\).*=.*,\1 =\t%{_prefix},' \
+       -e 's,^\(bindir\).*=.*,\1 =\t%{_bindir},' \
+       -e 's,^\(mandir\).*=.*,\1 =\t%{_mandir},'
 
 %build
-autoreconf -fi
-export CFLAGS="$RPM_OPT_FLAGS -W -Wall"
-./configure --prefix=/usr --mandir=%{_mandir} 
-make
+make CFLAGS="$RPM_OPT_FLAGS"
+
+%check
+make test
 
 %install
-make DESTDIR=%{buildroot} install
+%{?make_install} %{!?make_install:make install DESTDIR=%{buildroot}}
 
 %files
 %defattr(-,root,root)
 %{_bindir}/unifdef
+%{_bindir}/unifdefall
 %{_mandir}/man1/unifdef.1*
-%doc LICENSE README unifdef.1
+%{_mandir}/man1/unifdefall.1*
+%doc Changelog COPYING README
 
 %changelog

++++++ unifdef-1.0.tar.gz -> unifdef-2.6.tar.gz ++++++
++++ 9781 lines of diff (skipped)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to