fix udev rule path (#979545)
This commit is contained in:
parent
4d68078d8e
commit
fbc740870c
13
sysprof-1.2.0-fix_udev_rule_path.patch
Normal file
13
sysprof-1.2.0-fix_udev_rule_path.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/Makefile.am b/Makefile.am
|
||||||
|
index e294949..8e14ff9 100644
|
||||||
|
--- a/Makefile.am
|
||||||
|
+++ b/Makefile.am
|
||||||
|
@@ -60,7 +60,7 @@ sysprof_LDADD = $(GUI_DEP_LIBS)
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
|
-udevdir = $(sysconfdir)/udev/rules.d
|
||||||
|
+udevdir = /usr/lib/udev/rules.d
|
||||||
|
dist_udev_DATA = 60-sysprof.rules
|
||||||
|
|
||||||
|
pixmapsdir = $(datadir)/pixmaps
|
17
sysprof.spec
17
sysprof.spec
@ -1,6 +1,6 @@
|
|||||||
Name: sysprof
|
Name: sysprof
|
||||||
Version: 1.2.0
|
Version: 1.2.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: A system-wide Linux profiler
|
Summary: A system-wide Linux profiler
|
||||||
Group: Development/System
|
Group: Development/System
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -14,12 +14,16 @@ BuildRequires: gtk2-devel => 2.6
|
|||||||
BuildRequires: libglade2-devel
|
BuildRequires: libglade2-devel
|
||||||
BuildRequires: binutils-devel
|
BuildRequires: binutils-devel
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
|
BuildRequires: automake
|
||||||
|
|
||||||
|
|
||||||
Requires: kernel => 2.6.31
|
Requires: kernel => 2.6.31
|
||||||
Requires: hicolor-icon-theme
|
Requires: hicolor-icon-theme
|
||||||
|
|
||||||
ExclusiveArch: %{ix86} x86_64
|
ExclusiveArch: %{ix86} x86_64
|
||||||
|
|
||||||
|
Patch0: sysprof-1.2.0-fix_udev_rule_path.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Sysprof is a sampling CPU profiler for Linux that collects accurate,
|
Sysprof is a sampling CPU profiler for Linux that collects accurate,
|
||||||
high-precision data and provides efficient access to the sampled
|
high-precision data and provides efficient access to the sampled
|
||||||
@ -28,6 +32,7 @@ calltrees.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n sysprof-%{version}
|
%setup -q -n sysprof-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
# Fix README
|
# Fix README
|
||||||
iconv --from=ISO-8859-1 --to=UTF-8 README > README.new && \
|
iconv --from=ISO-8859-1 --to=UTF-8 README > README.new && \
|
||||||
@ -36,6 +41,7 @@ mv README.new README
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
autoreconf
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
@ -74,7 +80,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc NEWS README COPYING TODO AUTHORS
|
%doc NEWS README COPYING TODO AUTHORS
|
||||||
%{_sysconfdir}/udev/rules.d/60-sysprof.rules
|
%{_prefix}/lib/udev/rules.d/60-sysprof.rules
|
||||||
%{_bindir}/sysprof
|
%{_bindir}/sysprof
|
||||||
%{_bindir}/sysprof-cli
|
%{_bindir}/sysprof-cli
|
||||||
%{_datadir}/pixmaps/sysprof-*.png
|
%{_datadir}/pixmaps/sysprof-*.png
|
||||||
@ -83,6 +89,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
%{_datadir}/icons/hicolor/*/*/*
|
%{_datadir}/icons/hicolor/*/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 28 2013 Gianluca Sforna <giallu@gmail.com> 1.2.0-3
|
||||||
|
- fix udev rule path (#979545)
|
||||||
|
|
||||||
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
|
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
@ -139,10 +148,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
* Thu Oct 5 2006 Gianluca Sforna <giallu gmail com> 1.0.3-5
|
* Thu Oct 5 2006 Gianluca Sforna <giallu gmail com> 1.0.3-5
|
||||||
- add ExclusiveArch to match sysprof-kmod supported archs
|
- add ExclusiveArch to match sysprof-kmod supported archs
|
||||||
|
|
||||||
* Tue Oct 2 2006 Gianluca Sforna <giallu gmail com> 1.0.3-4
|
* Mon Oct 2 2006 Gianluca Sforna <giallu gmail com> 1.0.3-4
|
||||||
- add .desktop file
|
- add .desktop file
|
||||||
|
|
||||||
* Fri Sep 30 2006 Gianluca Sforna <giallu gmail com> 1.0.3-3
|
* Sat Sep 30 2006 Gianluca Sforna <giallu gmail com> 1.0.3-3
|
||||||
- versioned Provides
|
- versioned Provides
|
||||||
- add BR: binutils-devel
|
- add BR: binutils-devel
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user