Hello community,

here is the log from the commit of package awesfx for openSUSE:Factory checked 
in at 2013-04-14 10:13:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/awesfx (Old)
 and      /work/SRC/openSUSE:Factory/.awesfx.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

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

Changes:
--------
--- /work/SRC/openSUSE:Factory/awesfx/awesfx.changes    2011-10-03 
09:13:35.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.awesfx.new/awesfx.changes       2013-04-14 
10:13:21.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Apr 11 20:12:39 UTC 2013 - [email protected]
+
+- Place udev rules in the correct directory. 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ awesfx.spec ++++++
--- /var/tmp/diff_new_pack.hzh7uq/_old  2013-04-14 10:13:22.000000000 +0200
+++ /var/tmp/diff_new_pack.hzh7uq/_new  2013-04-14 10:13:22.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package awesfx
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -16,18 +16,21 @@
 #
 
 
-
 Name:           awesfx
-BuildRequires:  alsa-devel
-BuildRequires:  libtool
-Summary:        SoundFont Utilities for SB AWE32/64 and Emu10k1 Drivers
 Version:        0.5.1d
-Release:        1
+Release:        0
+Summary:        SoundFont Utilities for SB AWE32/64 and Emu10k1 Drivers
 License:        GPL-2.0+
 Group:          Productivity/Multimedia/Sound/Midi
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Url:            http://www.alsa-project.org/~iwai/awedrv.html
 Source:         awesfx-%{version}.tar.bz2
+BuildRequires:  alsa-devel
+BuildRequires:  libtool
+BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(udev)
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+
+%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
 
 %description
 The AWESFX package includes utility programs for controlling the
@@ -38,28 +41,27 @@
 
 %build
 autoreconf -fi
-CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
+CFLAGS="%{optflags} -fno-strict-aliasing" \
 %configure
 make %{?_smp_mflags}
 
 %install
-make DESTDIR=$RPM_BUILD_ROOT install
+%make_install
 # install udev and helper scripts
-mkdir -p $RPM_BUILD_ROOT/etc/udev/rules.d
-install -c -m 0644 etc/*.rules $RPM_BUILD_ROOT/etc/udev/rules.d
-mkdir -p $RPM_BUILD_ROOT/etc/alsa.d
-install -c -m 0755 etc/load-soundfont $RPM_BUILD_ROOT/etc/alsa.d
-install -c -m 0755 etc/udev-soundfont $RPM_BUILD_ROOT/etc/alsa.d
+mkdir -p %{buildroot}%{_udevrulesdir}
+install -c -m 0644 etc/*.rules %{buildroot}%{_udevrulesdir}
+mkdir -p %{buildroot}%{_sysconfdir}/alsa.d
+install -c -m 0755 etc/load-soundfont %{buildroot}%{_sysconfdir}/alsa.d
+install -c -m 0755 etc/udev-soundfont %{buildroot}%{_sysconfdir}/alsa.d
 
 %files
 %defattr(-,root,root)
 %doc AUTHORS COPYING README ChangeLog
 %doc *.txt
 %{_bindir}/*
-%dir %{_datadir}/sounds/sf2
-%{_datadir}/sounds/sf2/*
+%{_datadir}/sounds/sf2/
 %doc %{_mandir}/*/*
-/etc/udev
-/etc/alsa.d
+%{_udevrulesdir}/*.rules
+%{_sysconfdir}/alsa.d
 
 %changelog

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

Reply via email to