Compare commits

...

6 Commits
rawhide ... f28

Author SHA1 Message Date
Christian Dersch 1a798429ef Remove TODO 2018-07-29 15:02:44 +02:00
Christian Dersch 8a7ad8abe0 Another fix... 2018-07-29 14:57:17 +02:00
Christian Dersch 7a75fe7a3f Fix Source0 2018-07-29 14:52:46 +02:00
Christian Dersch 7f8fb87b3f Use self-generated tar 2018-07-29 14:48:47 +02:00
Christian Dersch 98c6767822 new version 2018-07-29 14:44:00 +02:00
Sergio Pascual 666b336700 Patch udev rules to remove plugdev (bz #1330205) 2018-06-21 19:11:56 +02:00
3 changed files with 24 additions and 6 deletions

7
libindi-uaccess.patch Normal file
View File

@ -0,0 +1,7 @@
diff -ur libindi-1.7.2/drivers/weather/99-vantage.rules libindi-1.7.2.rules/drivers/weather/99-vantage.rules
--- libindi-1.7.2/drivers/weather/99-vantage.rules 2018-04-22 21:52:30.000000000 +0200
+++ libindi-1.7.2.rules/drivers/weather/99-vantage.rules 2018-06-21 13:21:29.024905884 +0200
@@ -1,2 +1,2 @@
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", GROUP="plugdev", MODE="0666", SYMLINK+="vantage"
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", TAG+="uaccess", SYMLINK+="vantage"

View File

@ -1,13 +1,17 @@
Name: libindi
Version: 1.6.2
Release: 3%{?dist}
Version: 1.7.4
Release: 1%{?dist}
Summary: Instrument Neutral Distributed Interface
License: LGPLv2+ and GPLv2+
# See COPYRIGHT file for a description of the licenses and files covered
URL: http://www.indilib.org
Source0: https://github.com/indilib/indi/releases/download/v%{version}/libindi_%{version}.tar.gz
#Source0: https://github.com/indilib/indi/releases/download/v%%{version}/libindi_%%{version}.tar.gz
Source0: libindi-%{version}.tar.gz
Source1: libindi-generate-tarball.sh
# Remove plugdev, use uaccess
Patch0: libindi-uaccess.patch
BuildRequires: cmake
BuildRequires: libfli-devel
@ -57,7 +61,8 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Static library needed to develop a %{name} application
%prep
%setup -q -n %{name}
%setup -q -n %{name}-%{version}
%patch0 -p1
# For Fedora we want to put udev rules in %{_udevrulesdir}
sed -i 's|/lib/udev/rules.d|%{_udevrulesdir}|g' CMakeLists.txt
chmod -x drivers/telescope/lx200fs2.h
@ -76,7 +81,7 @@ make install DESTDIR=%{buildroot}
%files
%license COPYING.BSD COPYING.GPL COPYING.LGPL COPYRIGHT LICENSE
%doc AUTHORS ChangeLog NEWS README TODO
%doc AUTHORS ChangeLog NEWS README
%{_bindir}/*
%{_datadir}/indi
%{_udevrulesdir}/*.rules
@ -95,6 +100,12 @@ make install DESTDIR=%{buildroot}
%{_libdir}/*.a
%changelog
* Sun Jul 29 2018 Christian Dersch <lupinix@mailbox.org> - 1.7.4-1
- new version
* Thu Jun 21 2018 Sergio Pascual <sergiopr@fedoraproject.org> 1.6.2-4
- Patch udev rules to remove plugdev (bz #1330205)
* Fri Feb 23 2018 Christian Dersch <lupinix@mailbox.org> - 1.6.2-3
- rebuilt for cfitsio 3.420 (so version bump)

View File

@ -1 +1 @@
SHA512 (libindi_1.6.2.tar.gz) = 0d01e529c640cd62e0dd6f816d1ba3dfa9e5f3f2320f732db50325c64b394bc219bfbea1a2edec47fed509a3e15bec80a4c0dcfd7f2ad9d519b5229dee23c438
SHA512 (libindi-1.7.4.tar.gz) = 7a30eed80ebb218b68bf94ba5ef1f1ca5a85bd3ce5a8ef1528b9dcfce05af1d2487a4eb8e48bc73580791dce165d49092bb07bd5d9dbba2f53c947ac5ced07a6