[slock] Spec file cleanup
Petr Sabata
psabata at fedoraproject.org
Tue Mar 1 10:09:07 UTC 2011
commit db98bc9f3285738b229da89d4f6949d306771a6b
Author: Petr Sabata <psabata at redhat.com>
Date: Tue Mar 1 11:08:37 2011 +0100
Spec file cleanup
slock.spec | 21 ++++++---------------
1 files changed, 6 insertions(+), 15 deletions(-)
---
diff --git a/slock.spec b/slock.spec
index 24eba76..465fad0 100644
--- a/slock.spec
+++ b/slock.spec
@@ -1,14 +1,12 @@
Name: slock
Version: 0.9
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Simple X display locker
-
Group: User Interface/X
License: MIT
-URL: http://www.suckless.org/programs/slock.html
-Source0: http://code.suckless.org/dl/tools/%{name}-%{version}.tar.gz
+URL: http://tools.suckless.org/%{name}
+Source0: http://dl.suckless.org/tools/%{name}-%{version}.tar.gz
Patch0: slock-0.9-flags.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libX11-devel libXext-devel
@@ -18,26 +16,17 @@ we are aware of. It is stable and quite a lot people in this community are
using it every day when they are out with friends or fetching some food from
the local pub.
-
%prep
%setup -q
# set fedora generic compiler flags and allow debuginfo generation
%patch0 -p1 -b .flags
-
%build
make %{?_smp_mflags}
-
%install
-rm -rf $RPM_BUILD_ROOT
make install PREFIX=$RPM_BUILD_ROOT/usr
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
%files
%defattr(-,root,root,-)
%doc README LICENSE
@@ -45,8 +34,10 @@ rm -rf $RPM_BUILD_ROOT
# There is no freedesktop.org .desktop file because slock is basically a helper
# binary for light windowmanagers, and it shouldn't appear in applications menu
-
%changelog
+* Tue Mar 01 2011 Petr Sabata <psabata at redhat.com> - 0.9-8
+- Spec cleanup -- buildroot garbage removed, URL and Source corrected
+
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list