Hello community, here is the log from the commit of package isapnp for openSUSE:Factory checked in at 2016-02-24 14:25:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/isapnp (Old) and /work/SRC/openSUSE:Factory/.isapnp.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "isapnp" Changes: -------- --- /work/SRC/openSUSE:Factory/isapnp/isapnp.changes 2015-09-08 17:44:38.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.isapnp.new/isapnp.changes 2016-02-24 14:25:30.000000000 +0100 @@ -1,0 +2,8 @@ +Sun Jan 17 11:59:37 UTC 2016 - [email protected] + +- Cleanup spec file with spec-cleaner +- Use %configure macro +- Do not strip binaries +- Do not ship INSTALL file + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ isapnp.spec ++++++ --- /var/tmp/diff_new_pack.SqNlxs/_old 2016-02-24 14:25:31.000000000 +0100 +++ /var/tmp/diff_new_pack.SqNlxs/_new 2016-02-24 14:25:31.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package isapnp # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,9 +17,6 @@ Name: isapnp -BuildRequires: automake -BuildRequires: flex -PreReq: %fillup_prereq %insserv_prereq Version: 1.26 Release: 0 Summary: An ISA Plug and Play Configuration Utility @@ -28,10 +25,14 @@ Source: isapnptools-%{version}.tar.bz2 Source1: boot.isapnp Source2: README.SUSE -Patch: isapnp-1.26-powerpc.diff +Patch0: isapnp-1.26-powerpc.diff Patch2: isapnp-autotools.diff Patch3: isapnp-codecleanup.diff Patch4: isapnp-static_nonstatic_mix.diff +BuildRequires: automake +BuildRequires: flex +Requires(pre): %fillup_prereq +Requires(pre): %insserv_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 @@ -41,34 +42,22 @@ using a configuration file. For more information, refer to: -/usr/share/doc/packages/isapnp/README.SUSE - - - -Authors: --------- - Peter Fox <[email protected]> +%{_docdir}/isapnp/README.SUSE %package devel Summary: ISA PnP library and headers Group: Development/Libraries/C and C++ Requires: %{name} = %{version} -Provides: isapnp:/usr/include/isapnp/pnp.h +Provides: isapnp:%{_includedir}/isapnp/pnp.h %description devel This package contains all that's needed to develop programs that use libisapnp. - - -Authors: --------- - Peter Fox <[email protected]> - %prep %setup -q -n isapnptools-%{version} chmod u+x src/* -%patch +%patch0 %patch2 %patch3 %patch4 @@ -76,38 +65,37 @@ %build %define warn_flags -W -Wall -Wstrict-prototypes -Wno-unused-parameter rm -f acconfig.h -autoreconf --force --install +autoreconf -fiv export CFLAGS="%{optflags} %{warn_flags}" -./configure --mandir=%{_mandir} --prefix=/ --includedir=/usr/include --libdir=%_libdir +%configure \ + --sbindir=/sbin touch src/isapnp_main.l make all %install -rm -rf %{buildroot} -cp %SOURCE2 . -make DESTDIR=%{buildroot} install-strip -install -d %{buildroot}/etc/init.d -install -m 744 %SOURCE1 %{buildroot}/etc/init.d/boot.isapnp +cp %{SOURCE2} . +make DESTDIR=%{buildroot} install +install -D -m 744 %{SOURCE1} %{buildroot}%{_initddir}/boot.isapnp %post %{fillup_and_insserv -y boot.isapnp} %postun -%{insserv_cleanup} +%insserv_cleanup %files %defattr(-,root,root) /sbin/isapnp /sbin/pnpdump -%config /etc/init.d/boot.isapnp -%doc AUTHORS COPYING ChangeLog INSTALL NEWS README README.SUSE +%config %{_initddir}/boot.isapnp +%doc AUTHORS COPYING ChangeLog NEWS README README.SUSE %doc doc/isapnpfaq.txt -%doc %{_mandir}/man5/*.5.gz -%doc %{_mandir}/man8/*.8.gz +%{_mandir}/man5/*.5%{ext_man} +%{_mandir}/man8/*.8%{ext_man} %files devel %defattr(-,root,root) -/usr/include/isapnp -%_libdir/libisapnp.a +%{_includedir}/isapnp +%{_libdir}/libisapnp.a %changelog
