11Name: mount-sdcard
22Summary: Enhanced mounting scripts for SD-cards
3- Version: 1.5.0
3+ Version: 1.5.1
44# Since v1.4.2, the release version consists of two or three fields, separated by a dot ("."):
55# - The first field must contain a natural number greater than zero.
66# This number may be prefixed by one of {alpha,beta,stable}, e.g. "alpha13".
@@ -26,8 +26,9 @@ Source: https://github.com/Olf0/%{name}/archive/%{version}-%{release}/%{n
2626BuildArch: noarch
2727Requires: systemd
2828Requires: udisks2
29- # Better use direct dependencies than indirect ones (here: the line above versus the one below), but
30- # ultimately decided to use both in this case:
29+ # Better use direct dependencies on specific versions than indirect ones (here: the line above
30+ # versus the one below) in general, but ultimately decided not to do so in this special case
31+ # (for commonality across release versions):
3132Requires: sailfish-version >= 2.2.0
3233# Omit anti-dependency on future, untested SFOS versions, until a known conflict exists:
3334Requires: sailfish-version < 3.0.1
@@ -43,12 +44,10 @@ Requires: sailfish-version < 3.0.1
4344%install
4445mkdir -p %{buildroot }%{_sysconfdir }
4546cp -R systemd udev %{buildroot }%{_sysconfdir }/
46- mkdir -p %{buildroot }%{_sharedstatedir }
47- cp -R environment %{buildroot }%{_sharedstatedir }/
4847
4948%files
5049%defattr(-,root,root,-)
5150%{_sysconfdir }/systemd/system/mount-sd@.service
5251%{_sysconfdir }/udev/rules.d/91-mountsd.rules
53- %config(noreplace) %{_sharedstatedir }/environment/udisks2 /mount-sd@ .conf
52+ %config %{_sysconfdir }/systemd/system /mount-sd.conf
5453
0 commit comments