Hello community, here is the log from the commit of package xcm for openSUSE:Factory checked in at 2012-10-26 17:36:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xcm (Old) and /work/SRC/openSUSE:Factory/.xcm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xcm", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/xcm/xcm.changes 2012-04-12 09:56:46.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.xcm.new/xcm.changes 2012-10-26 17:36:29.000000000 +0200 @@ -1,0 +2,6 @@ +Thu Oct 18 11:45:33 UTC 2012 - [email protected] + +- Add udev-dir.patch: allow to change udev rules directory location + in build (fix build with new udev location). + +------------------------------------------------------------------- New: ---- udev-dir.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xcm.spec ++++++ --- /var/tmp/diff_new_pack.p0uisa/_old 2012-10-26 17:36:30.000000000 +0200 +++ /var/tmp/diff_new_pack.p0uisa/_new 2012-10-26 17:36:30.000000000 +0200 @@ -16,14 +16,22 @@ # +%if %( echo `rpm -q --queryformat %%{version} udev` ) > 190 +%define _udevrulesdir /usr/lib/udev/rules.d +%else +%define _udevrulesdir /lib/udev/rules.d +%endif + Version: 0.5.0 Release: 0 Source: http://sourceforge.net/projects/oyranos/files/Xcm/xcm-0.5.0.tar.bz2 +# PATCH-FIX-UPSTREAM udev-dir.patch [email protected] -- allow to override udev rules directory +Patch0: udev-dir.patch Summary: X Color Management tools - -Name: xcm License: MIT Group: System/X11/Utilities + +Name: xcm Url: http://www.oyranos.org BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -98,13 +106,14 @@ %prep %setup -n %{name}-%{version} +%patch0 -p1 %build %configure --disable-static make %{?_smp_mflags} %install -%make_install +%make_install UDEVDIR=%{_udevrulesdir} #Remove installed doc rm -fr %{buildroot}/%{_datadir}/doc/%{name} @@ -119,7 +128,7 @@ %{_mandir}/man1/%{name}ddc.1* %{_mandir}/man1/%{name}edid.1* %{_mandir}/man1/%{name}events.1* -/lib/udev/rules.d/90-xcm-i2c.rules +%{_udevrulesdir}/90-xcm-i2c.rules %doc AUTHORS COPYING ChangeLog README %changelog ++++++ udev-dir.patch ++++++ Index: xcm-0.5.0/makefile.in =================================================================== --- xcm-0.5.0.orig/makefile.in +++ xcm-0.5.0/makefile.in @@ -19,6 +19,7 @@ CFLAGS_=$(CFLAGS) $(XCM_H) -std=c99 -ped docdir = $(datadir)/doc/$(TARGET) SRCDIR = $(src_dir) BUILDDIR = $(build_dir)/ +UDEVDIR = /lib/udev/rules.d LIBRARIES = $(TARGET) LIB= @@ -204,8 +205,8 @@ install_bin: all #ifdef LINUX $(INSTALL) -m 755 $(TARGET_MINI)ddc $(DESTDIR)$(bindir) #endif - -mkdir -p $(DESTDIR)/lib/udev/rules.d/ - -$(INSTALL) -m 644 $(UDEV_RULES) $(DESTDIR)/lib/udev/rules.d/ + -mkdir -p $(DESTDIR)/$(UDEVDIR) + -$(INSTALL) -m 644 $(UDEV_RULES) $(DESTDIR)/$(UDEVDIR) echo ... binary Installation finished # install recursive -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
