]> git.pld-linux.org Git - packages/cdmrw.git/commitdiff
- add bconf BuildRequires: kernel-headers
authorareq <areq@pld-linux.org>
Sat, 28 Sep 2002 22:43:26 +0000 (22:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fix %install
- remove empty %pre, %prenum...

Changed files:
    cdmrw.spec -> 1.3

cdmrw.spec

index f0bddac1a88e6081565b9c53344aa7cca8def9b2..f3dd7b0229c315b856a4dc7be82e30af2fdec14d 100644 (file)
@@ -7,7 +7,7 @@ Group:          Applications/System
 Source0:       ftp://ftp.kernel.org/pub/linux/kernel/people/axboe/tools/%{name}.c
 URL:           http://old.lwn.net/2002/0328/a/rainier.php3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Source0:       ftp://ftp.kernel.org/pub/linux/kernel/people/axboe/tools/%{name}.c
 URL:           http://old.lwn.net/2002/0328/a/rainier.php3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-BuildRequires: kernel-headers
+%{!?_without_dist_kernel:BuildRequires: kernel-headers}
 Requires:      kernel(cdmrw)
 
 %description
 Requires:      kernel(cdmrw)
 
 %description
@@ -22,24 +22,11 @@ cp -f %{SOURCE0} .
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
-
-cp -f %{_builddir}/cdmrw/%{name} $RPM_BUILD_ROOT%{_bindir}
+install -D %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%pre
-
-%preun
-
-%post
-
-%postun
-
-
-
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/*
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/*
This page took 0.168497 seconds and 4 git commands to generate.