Why fork two powertop? We never fork CORE packages. 

For powertop, I don't understand we need old top if you would like new features 
of latest powertop

Peter



> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Arjan van de Ven
> Sent: Tuesday, January 11, 2011 9:50 AM
> To: [email protected]
> Subject: [meego-commits] 11716: Changes to Trunk:Testing/powertop
> 
> Hi,
> I have made the following changes to powertop in project Trunk:Testing. Please
> review and accept ASAP.
> 
> Thank You,
> Arjan van de Ven
> 
> [This message was auto-generated]
> 
> ---
> 
> Request #11716:
> 
>   submit:   home:arjan/powertop(r6) -> Trunk:Testing/powertop
> 
> 
> Message:
>     PowerTOP 2.x beta, with a powertop.old for one release as per
> conversation with Rolla
> 
> State:   new          2011-01-10T17:49:42 arjan
> Comment: None
> 
> 
> 
> changes files:
> --------------
> --- powertop.changes
> +++ powertop.changes
> @@ -0,0 +1,6 @@
> +* Mon Jan 10 2011 Arjan van de Ven <[email protected]> - 1.97
> +- Update to the 1.97 BEta release (BMC#11626) which provides
> +  much more accurate information, and which provides a more
> +  useful diagnostics report for offline analysis.
> +- for one release provide a powertop.old (idea by Rolla)
> +
> 
> old:
> ----
>   powertop_wol_suggest_off_always.patch
> 
> new:
> ----
>   powertop-1.97.tar.bz2
> 
> spec files:
> -----------
> --- powertop.spec
> +++ powertop.spec
> @@ -7,15 +7,17 @@
> 
>  Name:       powertop
>  Summary:    Power consumption monitor
> -Version:    1.13
> +Version:    1.97
>  Release:    1
>  Group:      Applications/System
>  License:    GPLv2
>  URL:        http://www.lesswatts.org/projects/powertop/
> -Source0:
> http://www.lesswatts.org/projects/powertop/download/%{name}-%{version}.t
> ar.gz
> +Source0:
> http://www.kernel.org/pub/linux/status/powertop/powertop-%{version}.tar.bz
> 2
> +Source1:
> http://lesswatts.org/projects/powertop/download/powertop-1.13.tar.gz
>  Source100:  powertop.yaml
> -Patch0:     powertop_wol_suggest_off_always.patch
>  BuildRequires:  pkgconfig(ncursesw)
> +BuildRequires:  pkgconfig(libpci)
> +BuildRequires:  pkgconfig(libnl-1)
>  BuildRequires:  gettext
> 
> 
> @@ -27,8 +29,6 @@
>  %prep
>  %setup -q -n %{name}-%{version}
> 
> -# powertop_wol_suggest_off_always.patch
> -%patch0 -p1
>  # >> setup
>  # << setup
> 
> @@ -38,6 +38,11 @@
> 
> 
>  make %{?jobs:-j%jobs}
> +cd ..
> +tar -zxf %{SOURCE1}
> +cd powertop-1.13
> +make
> +cd ../powertop-1.97
> 
>  # >> build post
>  # << build post
> @@ -45,23 +50,25 @@
>  rm -rf %{buildroot}
>  # >> install pre
>  # << install pre
> +cd ../powertop-1.13
> +%make_install
> +cp %{buildroot}/usr/bin/powertop %{buildroot}/usr/bin/powertop.old
> +cd ../powertop-1.97
>  %make_install
> 
>  # >> install post
>  # << install post
> -%find_lang powertop
> 
> 
> 
> 
> 
> 
> -%files -f powertop.lang
> +%files
>  %defattr(-,root,root,-)
> +/usr/bin/powertop
>  # >> files
> -%doc COPYING README
> -%{_bindir}/powertop
> -%doc %{_mandir}/man8/powertop.8*
>  # << files
> -
> -
> +/usr/bin/powertop.old
> +%exclude /usr/share/locale/*
> +%exclude /usr/share/man/man8/powertop.8.gz
> 
> other changes:
> --------------
> 
> ++++++ powertop-1.97.tar.bz2 (new)
> 
> ++++++ powertop.yaml
> --- powertop.yaml
> +++ powertop.yaml
> @@ -1,19 +1,21 @@
>  Name: powertop
>  Summary: Power consumption monitor
> -Version: 1.13
> +Version: 1.96
>  Release: 1
>  Group: Applications/System
>  License: GPLv2
>  URL: http://www.lesswatts.org/projects/powertop/
>  Description: Measure power consumption and find out which application or
> hardware is using the most power.
>  Sources:
> -    -
> http://www.lesswatts.org/projects/powertop/download/%{name}-%{version}.t
> ar.gz
> -Patches:
> -    - powertop_wol_suggest_off_always.patch
> +    -
> http://www.kernel.org/pub/linux/status/powertop/powertop-%{version}.tar.bz
> 2
> 
>  PkgConfigBR:
>      - ncursesw
> +    - libpci
> +    - libnl-1
> +
>  PkgBR:
>      - gettext
>  Configure: none
> -LocaleName: powertop
> +Files:
> +    - /usr/bin/powertop
> 
> ++++++ deleted files:
> --- powertop_wol_suggest_off_always.patch
> 
> _______________________________________________
> MeeGo-commits mailing list
> [email protected]
> http://lists.meego.com/listinfo/meego-commits
_______________________________________________
MeeGo-packaging mailing list
[email protected]
http://lists.meego.com/listinfo/meego-packaging

Reply via email to