commit mk-configure for openSUSE:Factory
Hello community, here is the log from the commit of package mk-configure for openSUSE:Factory checked in at 2016-05-31 12:24:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mk-configure (Old) and /work/SRC/openSUSE:Factory/.mk-configure.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "mk-configure" Changes: -------- --- /work/SRC/openSUSE:Factory/mk-configure/mk-configure.changes 2016-01-20 09:54:49.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.mk-configure.new/mk-configure.changes 2016-05-31 12:24:49.000000000 +0200 @@ -1,0 +2,9 @@ +Sun May 29 08:52:12 UTC 2016 - dap.darkness@gmail.com + +- Added mkcmake.macros to provide rpm macros. +- Added mk-configure-rpmlintrc to skip some useless warnings. +- Don't override upstream's files permissions. +- Prevented files-duplicate warnings. +- Group was fixed. + +------------------------------------------------------------------- New: ---- mk-configure-rpmlintrc mkcmake.macros ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mk-configure.spec ++++++ --- /var/tmp/diff_new_pack.j87bNd/_old 2016-05-31 12:24:50.000000000 +0200 +++ /var/tmp/diff_new_pack.j87bNd/_new 2016-05-31 12:24:50.000000000 +0200 @@ -21,14 +21,17 @@ Release: 0 Summary: Lightweight replacement for GNU autotools License: BSD-2-Clause and BSD-2-Clause and MIT and ISC -Group: Development/Tools +Group: Development/Tools/Building Url: http://sourceforge.net/projects/mk-configure/ Source: http://prdownloads.sf.net/%{name}/%{name}-%{version}.tar.gz +Source1: mkcmake.macros +Source9: mk-configure-rpmlintrc BuildRequires: autoconf BuildRequires: automake BuildRequires: bison BuildRequires: bmake +BuildRequires: fdupes BuildRequires: flex BuildRequires: gcc-c++ BuildRequires: glib2-devel @@ -39,9 +42,9 @@ BuildRequires: makeinfo BuildRequires: pkgconfig Requires: bmake -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch Recommends: %{name}-doc +Provides: %{name}-rpm-macros +BuildArch: noarch %description mk-configure is a lightweight replacement for GNU autotools, written in @@ -79,6 +82,12 @@ chmod -x examples/hello_lua/foobar.in chmod -x examples/hello_scripts/hello_world3.in chmod -x examples/hello_subdirs/prog1/prog1.awk.in +# HACK vs. duplicates after %%doc macro. +mkdir -p %{buildroot}%{_docdir}/%{name}-doc +cp -r examples %{buildroot}%{_docdir}/%{name}-doc +%fdupes -s %{buildroot}%{_docdir}/%{name}-doc +# rpm macros +install -m644 %{SOURCE1} -D %{buildroot}%{_sysconfdir}/rpm/macros.mkcmake %check unset MAKEFLAGS @@ -95,15 +104,16 @@ %files %defattr(-,root,root) %doc README doc/FAQ doc/LICENSE doc/NEWS doc/TODO -%attr(755,root,root) %{_bindir}/* +%{_bindir}/mkc* %{_datadir}/mk-configure/ %{_datadir}/mkc-mk/ %{_mandir}/man1/* %{_mandir}/man7/* +%config %{_sysconfdir}/rpm/macros.mkcmake %files doc %defattr(-,root,root) -%doc examples +%doc %{_docdir}/%{name}-doc/examples %doc presentation/presentation.pdf %changelog ++++++ mk-configure-rpmlintrc ++++++ addFilter("zero-length /usr/share/doc/packages/mk-configure-doc/examples/hello_require_tools/fake"); # It isn't an executable script, it is a kind of shell library. addFilter("script-without-shebang /usr/bin/mkc_check_common.sh"); addFilter("non-executable-in-bin /usr/bin/mkc_check_common.sh .*"); # Let's skip it. addFilter("doc-file-dependency /usr/share/doc/packages/mk-configure-doc/examples/.* /usr/bin/env"); addFilter("doc-file-dependency /usr/share/doc/packages/mk-configure-doc/examples/.*/bin/sh"); ++++++ mkcmake.macros ++++++ # # Macros for mk-configure's make # %mkcmake \ export CFLAGS="%{optflags}" \ export PREFIX=%{_prefix} \ export DOCDIR=%{_docdir} \ export LIBDIR=%{_libdir} \ export MANDIR=%{_mandir} \ export SYSCONFDIR=%{_sysconfdir} \ export DESTDIR=%{buildroot} \ %{_bindir}/mkcmake \\\ %{?_smp_mflags}
participants (1)
-
root@hilbert.suse.de