From 1f29e70b7f45320450e99e7ade1589de3c024265645ad10847f24f5ab4383dd9 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Thu, 27 Feb 2014 10:59:39 +0000 Subject: [PATCH] Accepting request 224021 from home:sumski:hazard:to:your:stereo Update to 1.0 OBS-URL: https://build.opensuse.org/request/show/224021 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libevdev?expand=0&rev=6 --- libevdev-0.4.tar.xz | 3 --- libevdev-1.0.tar.xz | 3 +++ libevdev.changes | 9 +++++++++ libevdev.spec | 19 ++++++++++--------- 4 files changed, 22 insertions(+), 12 deletions(-) delete mode 100644 libevdev-0.4.tar.xz create mode 100644 libevdev-1.0.tar.xz diff --git a/libevdev-0.4.tar.xz b/libevdev-0.4.tar.xz deleted file mode 100644 index 3289098..0000000 --- a/libevdev-0.4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ba6becd3f41430aa290ddf53694909fb46b9a65d5fe264e5fc2a4f5169484f42 -size 345636 diff --git a/libevdev-1.0.tar.xz b/libevdev-1.0.tar.xz new file mode 100644 index 0000000..d091df6 --- /dev/null +++ b/libevdev-1.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e6d1e307eff03f1c939c9af532228b19030fc896a9257a8abfa6e9b7dc91803 +size 369488 diff --git a/libevdev.changes b/libevdev.changes index 252ea44..94ec104 100644 --- a/libevdev.changes +++ b/libevdev.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Feb 26 22:59:18 UTC 2014 - hrvoje.senjan@gmail.com + +- Update to 1.0, for more details, please see: + http://lists.freedesktop.org/archives/input-tools/2014-January/000763.html + and http://lists.freedesktop.org/archives/input-tools/2014-February/000766.html +- SO version bumped to 2 +- Explicitly remove la files, instead of excluding them + ------------------------------------------------------------------- Thu Feb 6 11:08:51 UTC 2014 - sndirsch@suse.com diff --git a/libevdev.spec b/libevdev.spec index 7c523fd..96e6825 100644 --- a/libevdev.spec +++ b/libevdev.spec @@ -18,7 +18,8 @@ Name: libevdev -Version: 0.4 +%define sonum 2 +Version: 1.0 Release: 0 Summary: A wrapper library for evdev devices License: MIT @@ -40,7 +41,7 @@ the appearance of the device. %package devel Summary: Development files for libevdev library Group: Development/Libraries/Other -Requires: libevdev1 = %{version} +Requires: libevdev%{sonum} = %{version} %description devel Library for handling evdev kernel devices. It abstracts the ioctls @@ -49,11 +50,11 @@ the appearance of the device. Development files for libevdev library -%package -n libevdev1 +%package -n libevdev%{sonum} Summary: Library for handling evdev kernel devices Group: System/Libraries -%description -n libevdev1 +%description -n libevdev%{sonum} Library for handling evdev kernel devices. It abstracts the ioctls through type-safe interfaces and provides functions to change the appearance of the device. @@ -72,16 +73,16 @@ make %{?_smp_mflags} %install %make_install +rm -f "%buildroot/%{_libdir}"/*.la -%post -n libevdev1 -p /sbin/ldconfig +%post -n libevdev%{sonum} -p /sbin/ldconfig -%postun -n libevdev1 -p /sbin/ldconfig +%postun -n libevdev%{sonum} -p /sbin/ldconfig -%files -n libevdev1 +%files -n libevdev%{sonum} %defattr(-,root,root) %doc COPYING %{_libdir}/%{name}.so.* -%exclude %{_libdir}/*.la %files devel %defattr(-,root,root) @@ -90,6 +91,6 @@ make %{?_smp_mflags} %dir %{_includedir}/%{name}-1.0 %{_includedir}/%{name}-1.0/%{name}/ %{_libdir}/pkgconfig/%{name}.pc -%exclude %{_libdir}/*.la +%{_mandir}/man3/libevdev.* %changelog