Page MenuHomeSolus

D4976.id.diff
No OneTemporary

D4976.id.diff

diff --git a/files/powertop.service b/files/powertop.service
new file mode 100644
--- /dev/null
+++ b/files/powertop.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Powertop tunings
+
+[Service]
+Type=oneshot
+ExecStart=/usr/sbin/powertop --auto-tune
+
+[Install]
+WantedBy=multi-user.target
diff --git a/package.yml b/package.yml
--- a/package.yml
+++ b/package.yml
@@ -1,8 +1,8 @@
name : powertop
-version : '2.9'
-release : 6
+version : '2.10'
+release : 7
source :
- - https://github.com/fenrus75/powertop/archive/v2.9.tar.gz : 5daf009271a028c55f0d5da7e5cf85ce08f832831957828f0379faf721f5bad1
+ - https://github.com/fenrus75/powertop/archive/v2.10.tar.gz : 2ca3028b32bcbde0f603e4bf376d546c54730eed1b082e0cd3f3c24462f57a75
homepage : https://01.org/powertop
license : GPL-2.0-or-later
component : system.utils
@@ -15,8 +15,10 @@
rundeps :
- xset
setup : |
+ sed -i "s/RUN-VERSION-SCRIPT-IN-GIT-REPOSITORY-ONLY/$version/" scripts/version
%autogen
build : |
%make
install : |
%make_install
+ install -Dm00644 $pkgfiles/powertop.service $installdir/%libdir%/systemd/system/powertop.service
diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml
--- a/pspec_x86_64.xml
+++ b/pspec_x86_64.xml
@@ -3,8 +3,8 @@
<Name>powertop</Name>
<Homepage>https://01.org/powertop</Homepage>
<Packager>
- <Name>Bryan T. Meyers</Name>
- <Email>bmeyers@datadrake.com</Email>
+ <Name>Pierre-Yves</Name>
+ <Email>pyu@riseup.net</Email>
</Packager>
<License>GPL-2.0-or-later</License>
<PartOf>system.utils</PartOf>
@@ -20,6 +20,7 @@
</Description>
<PartOf>system.utils</PartOf>
<Files>
+ <Path fileType="library">/usr/lib64/systemd/system/powertop.service</Path>
<Path fileType="executable">/usr/sbin/powertop</Path>
<Path fileType="localedata">/usr/share/locale/ca/LC_MESSAGES/powertop.mo</Path>
<Path fileType="localedata">/usr/share/locale/cs_CZ/LC_MESSAGES/powertop.mo</Path>
@@ -35,12 +36,12 @@
</Files>
</Package>
<History>
- <Update release="6">
- <Date>2018-12-17</Date>
- <Version>2.9</Version>
+ <Update release="7">
+ <Date>2019-01-06</Date>
+ <Version>2.10</Version>
<Comment>Packaging update</Comment>
- <Name>Bryan T. Meyers</Name>
- <Email>bmeyers@datadrake.com</Email>
+ <Name>Pierre-Yves</Name>
+ <Email>pyu@riseup.net</Email>
</Update>
</History>
</PISI>
\ No newline at end of file

File Metadata

Mime Type
text/plain
Expires
May 16 2023, 3:12 AM (12 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5810324
Default Alt Text
D4976.id.diff (2 KB)

Event Timeline